remove enum scoping
authoralfadur
Sun, 12 May 2019 16:56:28 +0300
changeset 14921 7ced40e21b2c
parent 14920 06af4f0a92bd
child 14922 b3890f4311f7
remove enum scoping
QTfrontend/ui/widget/mapContainer.cpp
--- a/QTfrontend/ui/widget/mapContainer.cpp	Sun May 12 04:16:40 2019 +0200
+++ b/QTfrontend/ui/widget/mapContainer.cpp	Sun May 12 16:56:28 2019 +0300
@@ -1219,7 +1219,7 @@
             QModelIndexList mdl = m_themeModel->match(m_themeModel->index(0), ThemeModel::ActualNameRole, m_theme);
             if (mdl.size() > 0)
             {
-                if ((mdl.at(0).data(ThemeModel::Roles::IsBackgroundThemeRole).toBool() == true) || (mdl.at(0).data(ThemeModel::Roles::IsHiddenRole).toBool() == true))
+                if ((mdl.at(0).data(ThemeModel::IsBackgroundThemeRole).toBool() == true) || (mdl.at(0).data(ThemeModel::IsHiddenRole).toBool() == true))
                 {
                     selectedTheme = "Nature";
                 }