From bd74eb2df37dd84ecf0279971c64c23ac5de8bce Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 27 May 2011 18:55:18 +0200 Subject: 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. --- smglobals.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'smglobals.h') 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 & 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 mIcons; + qint64 mDvdSize; }; #endif -- cgit v1.2.3-70-g09d2