mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
* Remove obsolete filepath picker method.
This commit is contained in:
@@ -161,7 +161,6 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
|||||||
|
|
||||||
foreach ( const QString& dir, TomahawkSettings::instance()->scannerPaths() )
|
foreach ( const QString& dir, TomahawkSettings::instance()->scannerPaths() )
|
||||||
{
|
{
|
||||||
tDebug() << "FOO:" << dir;
|
|
||||||
ui->dirTree->checkPath( dir, Qt::Checked );
|
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
|
void
|
||||||
SettingsDialog::onRejected()
|
SettingsDialog::onRejected()
|
||||||
{
|
{
|
||||||
|
@@ -73,8 +73,6 @@ protected:
|
|||||||
private slots:
|
private slots:
|
||||||
void onRejected();
|
void onRejected();
|
||||||
|
|
||||||
void showPathSelector();
|
|
||||||
|
|
||||||
void toggleUpnp( bool preferStaticEnabled );
|
void toggleUpnp( bool preferStaticEnabled );
|
||||||
void showProxySettings();
|
void showProxySettings();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user