summaryrefslogtreecommitdiffstats
path: root/smglobals.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2025-04-29 11:27:51 +0200
committerArno <arno@disconnect.de>2025-04-29 11:27:51 +0200
commita3b79646fe6984b0f2203ed9819ba03b0a4db978 (patch)
tree4776207df9d1ef77cbe6010a4d47bab8f1f6f60d /smglobals.cpp
parent48cc96e4b51706796c119eb953706c61b9c60228 (diff)
downloadSheMov-a3b79646fe6984b0f2203ed9819ba03b0a4db978.tar.gz
SheMov-a3b79646fe6984b0f2203ed9819ba03b0a4db978.tar.bz2
SheMov-a3b79646fe6984b0f2203ed9819ba03b0a4db978.zip
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.
Diffstat (limited to 'smglobals.cpp')
-rw-r--r--smglobals.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}