summaryrefslogtreecommitdiffstats
path: root/smglobals.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-05-27 18:55:18 +0200
committerArno <am@disconnect.de>2011-05-27 18:55:18 +0200
commitbd74eb2df37dd84ecf0279971c64c23ac5de8bce (patch)
treed2a6c2353b4fcef1423cb8fd4fd7f0f418b808b1 /smglobals.h
parentd924a6414962435a0695441216474c7d95044233 (diff)
downloadSheMov-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 'smglobals.h')
-rw-r--r--smglobals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/smglobals.h b/smglobals.h
index 9324b85..7033b34 100644
--- a/smglobals.h
+++ b/smglobals.h
@@ -49,6 +49,7 @@ class SmGlobals : public QObject {
FrameCache *frameCache();
QSize cursorSize();
const QHash<QString, QString> & icons() const { return mIcons; }
+ qint64 dvdSize() const { return mDvdSize; }
private:
SmGlobals();
@@ -60,6 +61,7 @@ class SmGlobals : public QObject {
SmGlobals::FrameCache *mFrameCache;
QSize mCursorSize;
QHash<QString, QString> mIcons;
+ qint64 mDvdSize;
};
#endif