forked from qt-creator/qt-creator
Core: Use QtcSettings in NavigationWidgetFactory::restoreSettings()
Symmetric to saveSettings() now, and allows for central Key conversions later. Change-Id: I3fbf81c51197c9882b1f64ef591398b83aa0d633 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -657,7 +657,7 @@ void ProjectTreeWidgetFactory::saveSettings(QtcSettings *settings, int position,
|
||||
settings->setValueWithDefault(baseKey + kSyncKey, ptw->autoSynchronization(), kSyncDefault);
|
||||
}
|
||||
|
||||
void ProjectTreeWidgetFactory::restoreSettings(QSettings *settings, int position, QWidget *widget)
|
||||
void ProjectTreeWidgetFactory::restoreSettings(QtcSettings *settings, int position, QWidget *widget)
|
||||
{
|
||||
auto ptw = qobject_cast<ProjectTreeWidget *>(widget);
|
||||
Q_ASSERT(ptw);
|
||||
|
||||
Reference in New Issue
Block a user