diff options
author | Arno <am@disconnect.de> | 2011-05-27 18:55:18 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2011-05-27 18:55:18 +0200 |
commit | bd74eb2df37dd84ecf0279971c64c23ac5de8bce (patch) | |
tree | d2a6c2353b4fcef1423cb8fd4fd7f0f418b808b1 /shemov.cpp | |
parent | d924a6414962435a0695441216474c7d95044233 (diff) | |
download | SheMov-bd74eb2df37dd84ecf0279971c64c23ac5de8bce.tar.gz SheMov-bd74eb2df37dd84ecf0279971c64c23ac5de8bce.tar.bz2 SheMov-bd74eb2df37dd84ecf0279971c64c23ac5de8bce.zip |
Turned dvd size constant into a global
Moved constant dvd size in bytes to SmGlobals. It spread to several
source files, so it seemed to be a candidate.
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |