From 079bc4cf3a59a98c429b1db21fcf3f88c19d2bb5 Mon Sep 17 00:00:00 2001 From: Alexander Lopatin Date: Fri, 13 Jul 2018 18:37:42 +0300 Subject: [PATCH] fix crash that happens after fresh installation Signed-off-by: Alexander Lopatin --- 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