summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2014-02-15 04:55:46 +0100
committerArno <am@disconnect.de>2014-02-15 04:55:46 +0100
commit816b84b7a4263c587c661e4c7178f3b6721e4cfe (patch)
treed5d6bd412d26b29f053ba7f3135f85b01dae08a7 /newmoviewizard.cpp
parentdcbf9244f0ed147a5f3c412b9e83c581b58fa1b2 (diff)
downloadSheMov-816b84b7a4263c587c661e4c7178f3b6721e4cfe.tar.gz
SheMov-816b84b7a4263c587c661e4c7178f3b6721e4cfe.tar.bz2
SheMov-816b84b7a4263c587c661e4c7178f3b6721e4cfe.zip
Replace ArchiveModel::FileType with #define
These constants are used all over the place and aren't really specific to ArchiveModel, so use the preprocessor.
Diffstat (limited to 'newmoviewizard.cpp')
-rw-r--r--newmoviewizard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp
index 76a007d..a1ab2f3 100644
--- a/newmoviewizard.cpp
+++ b/newmoviewizard.cpp
@@ -125,7 +125,7 @@ void NewMovieWizard::accept(){
QString picSize;
int type = fData.value(WizardTreeModel::FileType).toInt();
QVariant quality;
- if(type == ArchiveFilesModel::Movie){
+ if(type == FT_MOVIE){
QVariantMap m = Helper::ffmpegData(fullPath);
secs = m.value("duration").toDouble();
quality = field("quality").toInt();