summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 96e2399..cf49b57 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -278,7 +278,7 @@ void SheMov::newMovieWizardWithFiles(){
void SheMov::setSize(qint64 size){
QLocale l;
QString val;
- const qint64 dvdSize = Q_INT64_C(4707319808);
+ const qint64 dvdSize = SmGlobals::instance()->dvdSize();
qint64 free = dvdSize - size;
QString selectedSize = l.toString(size / 1024.0 / 1024.0, 'f', 2);
QString freeSize = l.toString(free / 1024.0 / 1024.0, 'f', 2);