Merge pull request #4176 from Beep6581/extraclean

get rt cleaner when built using -Wextra #4155
This commit is contained in:
Ingo Weyrich
2017-11-11 18:06:00 +01:00
committed by GitHub
57 changed files with 483 additions and 1404 deletions

View File

@@ -2147,7 +2147,7 @@ void Preferences::cancelPressed ()
{
// set the initial theme back
if (themeFNames.at (theme->get_active_row_number ()).longFName != options.theme) {
rtengine::setPaths (options);
rtengine::setPaths();
RTImage::updateImages();
switchThemeTo (options.theme);
}
@@ -2205,7 +2205,7 @@ void Preferences::themeChanged ()
{
moptions.theme = themeFNames.at (theme->get_active_row_number ()).longFName;
rtengine::setPaths (moptions);
rtengine::setPaths();
RTImage::updateImages();
switchThemeTo (moptions.theme);
}