diff options
author | Arno <arno@disconnect.de> | 2022-04-15 13:27:34 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2022-04-15 13:27:34 +0200 |
commit | 856119c5a43b4781b051b93a0713c152cfd99f85 (patch) | |
tree | 4e2fde4e7a76179cc243e0665091c6ad429ea640 /filepropertiesdialog.cpp | |
parent | 62d3ca1482b202d2883eeb5e17e72300e8612477 (diff) | |
download | SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.gz SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.bz2 SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.zip |
Make it run with Qt6
This is a huge commit. Changes:
* Obviously, make it compile
* Make it run (only scarcely tested)
* get rid of most of clang's warnings
Let's see what surprises are in store...
Diffstat (limited to 'filepropertiesdialog.cpp')
-rw-r--r-- | filepropertiesdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/filepropertiesdialog.cpp b/filepropertiesdialog.cpp index be5e261..fbef6c2 100644 --- a/filepropertiesdialog.cpp +++ b/filepropertiesdialog.cpp @@ -103,7 +103,7 @@ void FilePropertiesDialog::movieData(){ SmTreeItem *streamItem = new SmTreeItem(2); QJsonArray streamA = obj.value("streams").toArray(); for(int i = 0; i < streamA.size(); ++i){ - QString itemName = QString(tr("Stream %1 [%2]")).arg(QString::number(i + 1)).arg(streamA.at(i).toObject().value("codec_type").toString()); + QString itemName = QString(tr("Stream %1 [%2]")).arg(QString::number(i + 1), streamA.at(i).toObject().value("codec_type").toString()); SmTreeItem *item = new SmTreeItem(QList<QVariant>() << itemName << QVariant(), streamItem); streamItem->appendChild(item); movieDataRecursive(streamA.at(i), item); |