Browse Source

Windows build fix try3

Ian Walton 1 year ago
parent
commit
f8ef310301
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/taskbar/TaskbarComponentWin.cpp

+ 2 - 2
src/taskbar/TaskbarComponentWin.cpp

@@ -37,8 +37,8 @@ void TaskbarComponentWin::setWindow(QQuickWindow* window)
   qDebug() << "Taskbar initialization started";
   TaskbarComponent::setWindow(window);
 
-  bool EnableTaskbar = SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "enableWindowsTaskbarIntegration", true).toBool();
-  bool EnableMediaControls = SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "enableWindowsMediaIntegration", true).toBool();
+  bool EnableTaskbar = SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "enableWindowsTaskbarIntegration").toBool();
+  bool EnableMediaControls = SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "enableWindowsMediaIntegration").toBool();
 
   if (EnableTaskbar) {
     m_button = new QWinTaskbarButton(m_window);