diff options
| author | Joel Klinghed <the_jk@yahoo.com> | 2017-08-10 21:10:23 +0200 |
|---|---|---|
| committer | Joel Klinghed <the_jk@yahoo.com> | 2017-08-10 21:12:52 +0200 |
| commit | e3f7ecc6bdf7bbd1ae7ec10c387e15743842db90 (patch) | |
| tree | bbe2e05ec16f4214e02dd9e0904af97998955c63 /src/gui_qt.cc | |
| parent | 725cb48b8909588b41c86c680e40b0a7df13e384 (diff) | |
Fix some issues and improvements found by cppcheck
Diffstat (limited to 'src/gui_qt.cc')
| -rw-r--r-- | src/gui_qt.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_qt.cc b/src/gui_qt.cc index 16102d6..76611e4 100644 --- a/src/gui_qt.cc +++ b/src/gui_qt.cc @@ -922,8 +922,8 @@ void QtGuiStatusBar::set_override(std::string const& str) { class QtGuiAbout : public virtual GuiAbout, public QtGuiWindow { public: QtGuiAbout(std::string const& title, std::string const& version, - std::vector<std::string> const& authors) { - title_ = title + " " + version; + std::vector<std::string> const& authors) + : title_(title + " " + version) { auto it = authors.begin(); while (it != authors.end()) { text_ += *it++; |
