forked from qt-creator/qt-creator
Change configuration saving
* Save initial configuration after all the plugins are done with their delayed initialization * Save configuration when the autosave timer triggers. The disks are in use at that time anyway and saving can be turned off completely * Save settings when closing the options page dialog Change-Id: Idcf9ad61e8f9b94899c580d5a855a883a62f8dc0 Reviewed-by: Majid Khan <mkhan3189@gmail.com> Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -798,6 +798,7 @@ void PluginManagerPrivate::nextDelayedInitialize()
|
||||
if (delayedInitializeQueue.isEmpty()) {
|
||||
delete delayedInitializeTimer;
|
||||
delayedInitializeTimer = 0;
|
||||
emit q->initializationDone();
|
||||
} else {
|
||||
delayedInitializeTimer->start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user