mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 14:16:32 +02:00
Remove option to turn on watch changes. QFileSystemWatcher is now deprecated and doesn't work right anyways. The logic is still there as it's mostly fine, but we need a new method for tracking.
This commit is contained in:
@@ -14,12 +14,6 @@ Version 0.1.0:
|
||||
played playlists.
|
||||
* Browse and play collections in our snappy tree-view, which also shows
|
||||
images for artists and albums.
|
||||
* Watch folders for changes and automatically update your collection. This
|
||||
is on by default; you can turn it off on the Local Music tab in the
|
||||
settings dialog. Note that this triggers only on files or folders being
|
||||
added to or removed from folders; it is not watch individual files as
|
||||
most OSes can't support enough file watches to handle a normal-sized
|
||||
music collection.
|
||||
* Fixed crash that could occur when playing a track from a browser.
|
||||
* Fixed a crash caused by sources going on- or offline.
|
||||
* (OS X) Open configuration dialogs as sliding sheets.
|
||||
|
@@ -65,6 +65,9 @@ ScanManager::ScanManager( QObject* parent )
|
||||
connect( m_deferredScanTimer, SIGNAL( timeout() ), SLOT( deferredScanTimeout() ) );
|
||||
connect( m_dirWatcher, SIGNAL( directoryChanged( const QString & ) ), SLOT( handleChangedDir( const QString & ) ) );
|
||||
|
||||
// FIXME: Disable this until we find something nondeprecated and working (e.g. not QFileSystemWatcher)
|
||||
TomahawkSettings::instance()->setWatchForChanges( false );
|
||||
|
||||
if ( TomahawkSettings::instance()->hasScannerPaths() )
|
||||
{
|
||||
m_currScannerPaths = TomahawkSettings::instance()->scannerPaths();
|
||||
|
@@ -107,7 +107,10 @@ SettingsDialog::SettingsDialog( QWidget *parent )
|
||||
ui->lineEditMusicPath_2->setText( QDesktopServices::storageLocation( QDesktopServices::MusicLocation ) );
|
||||
}
|
||||
|
||||
// WATCH CHANGES
|
||||
// FIXME: QFileSystemWatcher is broken (as we know) and deprecated. Find another way.
|
||||
ui->checkBoxWatchForChanges->setChecked( s->watchForChanges() );
|
||||
ui->checkBoxWatchForChanges->setVisible( false );
|
||||
|
||||
// LAST FM
|
||||
ui->checkBoxEnableLastfm->setChecked( s->scrobblingEnabled() );
|
||||
|
Reference in New Issue
Block a user