Changeset 108080 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Feb 5, 2025 5:22:27 PM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 167374
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialog.h
r108079 r108080 143 143 bool isSerializationInProgress() const { return m_fSerializationIsInProgress; } 144 144 145 /** Holds whether there were no serialization errors. */ 146 bool isSerializationClean() const { return m_fSerializationClean; } 147 /** Resets whether there were no serialization errors. */ 148 void resetSerializationClean() { m_fSerializationClean = true; } 149 145 150 /** Returns dialog optional flags. */ 146 151 QMap<QString, QVariant> optionalFlags() const { return m_flags; } -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UIAdvancedSettingsDialogSpecific.cpp
r107148 r108080 580 580 581 581 /* Check if user had changed something and warn him about he will loose settings on reloading: */ 582 if (isSettingsChanged() && !msgCenter().confirmSettingsReloading(this)) 583 return; 582 if (isSerializationClean() && isSettingsChanged() && !msgCenter().confirmSettingsReloading(this)) 583 return; 584 585 /* Make sure serialization reseted: */ 586 resetSerializationClean(); 584 587 585 588 /* Reload data: */
Note:
See TracChangeset
for help on using the changeset viewer.