From a3b79646fe6984b0f2203ed9819ba03b0a4db978 Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 29 Apr 2025 11:27:51 +0200 Subject: Display Genres in ArchiveBrowser This takes quite a toll on the startup time, because it executes an extra Query for each item in the archive, but I hope it's worth it. The final goal being to filter the archive by genres, so uninteresting moves can be moved easier. --- smglobals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'smglobals.cpp') diff --git a/smglobals.cpp b/smglobals.cpp index 0612b13..8b287e9 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -83,7 +83,7 @@ QAbstractItemModel *SmGlobals::model(const QString &which){ } }else if(which == "BrowserModel"){ if(!mModels.contains("BrowserModel")){ - QStringList headers = QStringList() << QChar(0x26A7) << tr("Name") << tr("Generic Id") << tr("Node Type") << tr("Size") << tr("Quality") << tr("File Type") << tr("Full Path") << tr("Selected"); + QStringList headers = QStringList() << QChar(0x26A7) << tr("Name") << tr("Generic Id") << tr("Node Type") << tr("Size") << tr("Quality") << tr("File Type") << tr("Full Path") << tr("Selected") << tr("Genres"); ArchiveBrowserModel *model = new ArchiveBrowserModel(headers); mModels.insert(which, model); } -- cgit v1.2.3-70-g09d2