Parcourir la source

don't be dumb

Tobias Hieta il y a 8 ans
Parent
commit
e0fcf1e56e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/settings/SettingsComponent.cpp

+ 1 - 1
src/settings/SettingsComponent.cpp

@@ -702,7 +702,7 @@ QString SettingsComponent::getWebClientUrl()
   auto mode = SettingsComponent::Get().value(SETTINGS_SECTION_MAIN, "webMode").toString();
   QString url;
 
-  if (url == "desktop")
+  if (mode == "desktop")
     url = SettingsComponent::Get().value(SETTINGS_SECTION_PATH, "startupurl_desktop").toString();
   else
     url = SettingsComponent::Get().value(SETTINGS_SECTION_PATH, "startupurl_tv").toString();