From 8f61715b6d570dfd42a8d86a7e87bffc8e163368 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 11 Sep 2011 08:46:36 +0200 Subject: [PATCH] * Remove obsolete filepath picker method. --- src/settingsdialog.cpp | 17 ----------------- src/settingsdialog.h | 2 -- 2 files changed, 19 deletions(-) diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index fce80ecd9..dbc63c3d9 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -161,7 +161,6 @@ SettingsDialog::SettingsDialog( QWidget *parent ) foreach ( const QString& dir, TomahawkSettings::instance()->scannerPaths() ) { - tDebug() << "FOO:" << dir; ui->dirTree->checkPath( dir, Qt::Checked ); } @@ -341,22 +340,6 @@ SettingsDialog::changePage( QListWidgetItem* current, QListWidgetItem* previous } -void -SettingsDialog::showPathSelector() -{ - QString path = QFileDialog::getExistingDirectory( - this, - tr( "Select Music Folder" ), - QDesktopServices::storageLocation( QDesktopServices::MusicLocation ) - ); - - if ( path.isEmpty() ) - return; - -// ui->lineEditMusicPath_2->setText( path ); -} - - void SettingsDialog::onRejected() { diff --git a/src/settingsdialog.h b/src/settingsdialog.h index fea8f5592..a66f39b48 100644 --- a/src/settingsdialog.h +++ b/src/settingsdialog.h @@ -73,8 +73,6 @@ protected: private slots: void onRejected(); - void showPathSelector(); - void toggleUpnp( bool preferStaticEnabled ); void showProxySettings();