Skip to content

Commit

Permalink
fix: Fix config and new 0.9.2 tag
Browse files Browse the repository at this point in the history
It uses the value as default value to compare, and then get no change if set value at first time.

Log: Fix config not change at first time.
Bug: https://pms.uniontech.com/bug-view-275517.html
  • Loading branch information
re2zero committed Oct 9, 2024
1 parent fc0ae18 commit 98c0e7d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
dde-cooperation (0.9.2) unstable; urgency=medium

* v0.9.2 version update.
* fix some issues.

-- re2zero <yangwu@uniontech.com> Tue, 08 Oct 2024 15:08:16 +0800

dde-cooperation (0.9.1) unstable; urgency=medium

* v0.9.1 version update.
Expand All @@ -10,7 +17,7 @@ dde-cooperation (0.9.0) unstable; urgency=medium
* v0.9.0 version update.
* added a new communication method that is compatible with previous versions.

-- liujinchang <liujinchang@uniontech.com> Aug, 28 Wed 2024 09:51:44 +0800
-- liujinchang <liujinchang@uniontech.com> Wed, 28 Aug 2024 09:51:44 +0800

dde-cooperation (0.8.0) unstable; urgency=medium

Expand Down
2 changes: 1 addition & 1 deletion src/configs/settings/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ bool Settings::setValueNoNotify(const QString &group, const QString &key, const

changed = true;
} else {
changed = this->value(group, key, value) != value;
changed = this->value(group, key) != value;
}

d->writableData.setValue(group, key, value);
Expand Down

0 comments on commit 98c0e7d

Please sign in to comment.