Skip to content

Commit

Permalink
fix: The full-screen configuration is reset.
Browse files Browse the repository at this point in the history
The configuration save path is also incorrect.

log: as title
issue: linuxdeepin/developer-center#8370
  • Loading branch information
robertkill committed May 7, 2024
1 parent c5778f7 commit 38d9a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/itemarrangementproxymodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ void ItemArrangementProxyModel::loadItemArrangementFromUserData()

void ItemArrangementProxyModel::saveItemArrangementToUserData()
{
const QString arrangementSettingBasePath(QStandardPaths::writableLocation(QStandardPaths::AppConfigLocation));
const QString arrangementSettingPath(QDir(arrangementSettingBasePath).absoluteFilePath("item-arrangement.ini"));
const QString arrangementSettingBasePath(QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation));
const QString arrangementSettingPath(QDir(arrangementSettingBasePath).absoluteFilePath("deepin/dde-launchpad/item-arrangement.ini"));
QSettings itemArrangementSettings(arrangementSettingPath, QSettings::NativeFormat);
itemArrangementSettings.clear();

Expand Down

0 comments on commit 38d9a70

Please sign in to comment.