You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/qdevicemonitor/files/qdevicemonitor-1.0.1-crash-...

28 lines
982 B

From 079bc4cf3a59a98c429b1db21fcf3f88c19d2bb5 Mon Sep 17 00:00:00 2001
From: Alexander Lopatin <alopatindev@gmail.com>
Date: Fri, 13 Jul 2018 18:37:42 +0300
Subject: [PATCH] fix crash that happens after fresh installation
Signed-off-by: Alexander Lopatin <alopatindev@gmail.com>
---
qdevicemonitor/devices/DeviceFacade.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qdevicemonitor/devices/DeviceFacade.cpp b/qdevicemonitor/devices/DeviceFacade.cpp
index ced04b3..6df67eb 100644
--- a/qdevicemonitor/devices/DeviceFacade.cpp
+++ b/qdevicemonitor/devices/DeviceFacade.cpp
@@ -151,8 +151,8 @@ void DeviceFacade::loadSettings(const QSettings& s)
if (darkTheme.isValid())
{
m_darkTheme = darkTheme.toBool();
- m_colorTheme = ColorTheme::create(m_darkTheme);
}
+ m_colorTheme = ColorTheme::create(m_darkTheme);
const QVariant clearAndroidLog = s.value("clearAndroidLog");
if (clearAndroidLog.isValid())
--
2.16.4