cppcheck: further fixes

This commit is contained in:
Ingo Weyrich
2019-08-08 19:10:29 +02:00
parent 4bf4b818c0
commit 8744f8f826
6 changed files with 26 additions and 41 deletions

View File

@@ -56,6 +56,7 @@ Glib::RefPtr<Gtk::CssProvider> fontcss;
Preferences::Preferences (RTWindow *rtwindow)
: Gtk::Dialog (M ("MAIN_BUTTON_PREFERENCES"), *rtwindow, true)
, regex(Glib::Regex::create (THEMEREGEXSTR, Glib::RegexCompileFlags::REGEX_CASELESS))
, splash (nullptr)
, rprofiles (nullptr)
, iprofiles (nullptr)
@@ -63,7 +64,6 @@ Preferences::Preferences (RTWindow *rtwindow)
, newFont (false)
, newCPFont (false)
{
regex = Glib::Regex::create (THEMEREGEXSTR, Glib::RegexCompileFlags::REGEX_CASELESS);
moptions.copyFrom (&options);