Skip to content
Browse files

Fix build warnings about modifying a const variable

  • Loading branch information...
1 parent d01b7d2 commit fc8880e7d6b186b55c331ebc953da8ef1ddad364 @stuartm stuartm committed Jul 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythplugins/mythweather/mythweather/weatherScreen.cpp
View
2 mythplugins/mythweather/mythweather/weatherScreen.cpp
@@ -237,7 +237,7 @@ QString WeatherScreen::formatDataItem(const QString &key, const QString &value)
}
if (key == "copyrightlogo" && value == "none")
- value = "";
+ return QString();
return value;
}

0 comments on commit fc8880e

Please sign in to comment.
Something went wrong with that request. Please try again.