added debug logs and code to assert that we are in the gui thread

This commit is contained in:
fourtf
2018-04-26 18:10:26 +02:00
parent b176dc5295
commit d078ef5fe0
22 changed files with 81 additions and 13 deletions
+2
View File
@@ -38,6 +38,8 @@ ThemeManager::ThemeManager()
: themeName("/appearance/theme/name", "Dark")
, themeHue("/appearance/theme/hue", 0.0)
{
qDebug() << "init ThemeManager";
this->update();
this->themeName.connectSimple([this](auto) { this->update(); });