Remove dead code

wilder-5.17
David Edmundson 7 years ago
parent 7ee035acf8
commit 3251187919
  1. 9
      wallpapers/image/image.cpp

@ -676,15 +676,6 @@ void Image::showFileDialog()
if(m_wallpaper.indexOf(QDir::homePath()) > -1){ if(m_wallpaper.indexOf(QDir::homePath()) > -1){
baseUrl = QUrl(m_wallpaper); baseUrl = QUrl(m_wallpaper);
} }
/*
m_dialog = new KFileDialog(baseUrl, QString::fromLatin1("*.png *.jpeg *.jpg *.xcf *.svg *.svgz *.bmp"), 0);
m_dialog->setOperationMode(KFileDialog::Opening);
m_dialog->setInlinePreviewShown(true);
m_dialog->setModal(false);
connect(m_dialog, SIGNAL(okClicked()), this, SLOT(wallpaperBrowseCompleted()));
connect(m_dialog, SIGNAL(destroyed(QObject*)), this, SLOT(fileDialogFinished()));
*/
QString path; QString path;
const QStringList &locations = QStandardPaths::standardLocations(QStandardPaths::PicturesLocation); const QStringList &locations = QStandardPaths::standardLocations(QStandardPaths::PicturesLocation);

Loading…
Cancel
Save