blob: 00c4dc1cdf3f67c00b3c760e84020c25f12f53cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
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
---
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
|