forked from qt-creator/qt-creator
ProjectExplorer: And more Key and Store
Change-Id: Id5787890bdb46bfeef8e3f37923e6dc26cb56c31 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -638,7 +638,7 @@ void ProjectTreeWidgetFactory::saveSettings(QtcSettings *settings, int position,
|
||||
{
|
||||
auto ptw = qobject_cast<ProjectTreeWidget *>(widget);
|
||||
Q_ASSERT(ptw);
|
||||
const QString baseKey = kBaseKey + QString::number(position);
|
||||
const Key baseKey = kBaseKey + Key::number(position);
|
||||
settings->setValueWithDefault(baseKey + kProjectFilterKey,
|
||||
ptw->projectFilter(),
|
||||
kProjectFilterDefault);
|
||||
|
||||
Reference in New Issue
Block a user