Browse Source

qt: don't index default folders when user cancel first run wizard

pull/200/head
Wassim Lalaoui 7 months ago
committed by Steve Lhomme
parent
commit
3f0de1dcae
  1. 8
      modules/gui/qt/dialogs/firstrun/firstrunwizard.cpp

8
modules/gui/qt/dialogs/firstrun/firstrunwizard.cpp

@ -311,7 +311,6 @@ void FirstRunWizard::initializePage( int id )
* Processes the default options on rejection of the FirstRun Wizard.
* The default options are:
* - Yes to metadata
* - Default folders in the Media Library
* - System/Auto colour scheme
* - Modern VLC layout
*/
@ -330,13 +329,6 @@ void FirstRunWizard::reject()
config_PutInt( "qt-titlebar", 0 );
p_intf->p_mi->setPinVideoControls( 0 );
/* Folders Page settings */
if ( mlFoldersEditor )
{
addDefaults();
mlFoldersEditor->commit();
}
if( p_intf->p_mi->getMediaLibrary() )
p_intf->p_mi->getMediaLibrary()->reload();

Loading…
Cancel
Save