summaryrefslogtreecommitdiffstats
path: root/archivebrowsermodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'archivebrowsermodel.cpp')
-rw-r--r--archivebrowsermodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivebrowsermodel.cpp b/archivebrowsermodel.cpp
index 4174f7e..c6e7d08 100644
--- a/archivebrowsermodel.cpp
+++ b/archivebrowsermodel.cpp
@@ -167,9 +167,9 @@ void ArchiveBrowserModel::populate(){
QList<QVariant> serPartData;
QString name;
if(localQ.value(2).toInt() > 0){
- name = QString("%1 %2").arg(localQ.value(1).toString()).arg(QString::number(localQ.value(2).toInt()));
+ name = QString("%1 %2").arg(localQ.value(1).toString(), QString::number(localQ.value(2).toInt()));
}else{
- name = QString("%1 - %2").arg(localQ.value(1).toString()).arg(localQ.value(3).toString());
+ name = QString("%1 - %2").arg(localQ.value(1).toString(), localQ.value(3).toString());
}
serPartData << QChar(0x26A4) << name << localQ.value(4) << SeriesPartNode << QVariant() << QVariant() << QVariant() << QString() << false;
SmTreeItem *seriesItem = new SmTreeItem(serPartData, rootItem);