summaryrefslogtreecommitdiffstats
path: root/src/localesettings/localemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localesettings/localemodel.h')
-rw-r--r--src/localesettings/localemodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/localesettings/localemodel.h b/src/localesettings/localemodel.h
index 6ed5844..a1525b8 100644
--- a/src/localesettings/localemodel.h
+++ b/src/localesettings/localemodel.h
@@ -74,8 +74,8 @@ public:
static bool variantLessThan(const LocaleItem* v1, const LocaleItem* v2);
enum Roles {
- Language = Qt::DisplayPropertyRole,
- Country = Qt::UserRole,
+ Language = Qt::UserRole + 1,
+ Country,
Code
};