summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-26 22:25:22 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:05:21 +0200
commitd65936200a2756e6619a109fa6fa673b91df802e (patch)
tree80b6b6fc7ba9023cbe47290b8ae1bc5468a19bb1 /variant
parent4046773c41ee3c0f65840828ab983cfd13451c85 (diff)
modernize C++ syntax
No visible changes (hopefully).
Diffstat (limited to 'variant')
-rw-r--r--variant/default/main-window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/variant/default/main-window.cpp b/variant/default/main-window.cpp
index 5fd52830..efc0882e 100644
--- a/variant/default/main-window.cpp
+++ b/variant/default/main-window.cpp
@@ -475,7 +475,7 @@ bool main_window::refresh_config_list()
QStringList ini_list = group::ini_list();
// check for sameness
- const bool exact_same = ini_list.size() > 0 && progn(
+ const bool exact_same = !ini_list.empty() && progn(
if (ini_list.size() == ui.iconcomboProfile->count())
{
const int sz = ini_list.size();