Skip to content

Commit f93cbbf

Browse files
committed
fix: #52.
1 parent 5d51ae4 commit f93cbbf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

deb.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(_VERSION_MAJOR 0)
22
set(_VERSION_MINOR 6)
3-
set(_VERSION_PATCH 7)
3+
set(_VERSION_PATCH 8)
44

55
set(CPACK_GENERATOR "DEB")
66

frame/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ int main(int argc, char *argv[]) {
3131
app.setOrganizationName("septemberhx");
3232
app.setApplicationName("dde-top-panel");
3333
app.setApplicationDisplayName("DDE Top Panel");
34-
app.setApplicationVersion("0.6.7");
34+
app.setApplicationVersion("0.6.8");
3535
app.loadTranslator();
3636
app.setAttribute(Qt::AA_EnableHighDpiScaling, true);
3737
app.setAttribute(Qt::AA_UseHighDpiPixmaps, false);
@@ -42,4 +42,4 @@ int main(int argc, char *argv[]) {
4242
TopPanelLauncher launcher;
4343

4444
return app.exec();
45-
}
45+
}

frame/util/CustomSettings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ void CustomSettings::setActiveMinimizedIconPath(const QString &activeMinimizedIc
141141
}
142142

143143
const QString &CustomSettings::getActiveDefaultAppIconPath() const {
144-
if (this->isFollowSystemTheme()) {
144+
if (this->isFollowSystemTheme() && activeDefaultAppIconPath == ":/icons/linux.svg") {
145145
switch (DGuiApplicationHelper::instance()->themeType()) {
146-
case Dtk::Gui::DGuiApplicationHelper::DarkType:
146+
case Dtk::Gui::DGuiApplicationHelper::DarkType:
147147
return this->defaultIconPathDark;
148148
case Dtk::Gui::DGuiApplicationHelper::LightType:
149149
return this->defaultIconPathLight;

0 commit comments

Comments
 (0)