summaryrefslogtreecommitdiffhomepage
path: root/variant
diff options
context:
space:
mode:
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();