diff options
Diffstat (limited to 'newmoviewizard.cpp')
-rw-r--r-- | newmoviewizard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp index 72b7d1e..9c12dca 100644 --- a/newmoviewizard.cpp +++ b/newmoviewizard.cpp @@ -128,7 +128,7 @@ void NewMovieWizard::accept(){ int type = fData.value(WizardTreeModel::FileType).toInt(); if(type == ArchiveFilesModel::Movie){ QVariantMap m = Helper::ffmpegData(fullPath); - secs = m.value("duration").toInt(); + secs = m.value("duration").toDouble(); }else{ QPixmap pix(fullPath); picSize = QString("%1x%2").arg(QString::number(pix.width())).arg(QString::number(pix.height())); |