Fixed a lot of issues reported by cppcheck 1.78

This commit is contained in:
heckflosse
2017-04-08 22:41:46 +02:00
parent 73e14702dd
commit 6e55f6bab5
41 changed files with 226 additions and 254 deletions

View File

@@ -322,7 +322,7 @@ class MyComboBoxText : public Gtk::ComboBoxText
void get_preferred_width_for_height_vfunc (int height, int &minimum_width, int &natural_width) const;
public:
MyComboBoxText (bool has_entry = false);
explicit MyComboBoxText (bool has_entry = false);
void setPreferredWidth (int minimum_width, int natural_width);
void connect(const sigc::connection &connection) { myConnection = connection; }
@@ -439,7 +439,7 @@ private:
void get_preferred_width_for_height_vfunc (int height, int &minimum_width, int &natural_width) const;
public:
MyProgressBar(int width);
explicit MyProgressBar(int width);
MyProgressBar();
void setPreferredWidth(int width);