summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp b/SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp
index 8153fed..b6203da 100644
--- a/SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp
+++ b/SQLiteStudio3/guiSQLiteStudio/dblistmodel.cpp
@@ -179,7 +179,7 @@ DbListModel::DbTreeComparer::DbTreeComparer()
// TODO when sorting or D&D databases in the tree, this should be updated
QList<DbTreeItem*> allItems = DBTREE->getModel()->getAllItemsAsFlatList();
dbTreeOrder.clear();
- foreach (DbTreeItem* item, allItems)
+ for (DbTreeItem* item : allItems)
{
if (item->getType() != DbTreeItem::Type::DB)
continue;