From: André Pönitz Date: Wed, 21 Nov 2007 22:04:50 +0000 (+0000) Subject: cosmetics X-Git-Tag: 1.6.10~7276 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=24ec082d8eae122defe730e70cd7fb8028fad8c7;p=lyx.git cosmetics git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21699 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/graphics/LoaderQueue.cpp b/src/graphics/LoaderQueue.cpp index 977d0c6955..3faf550fa0 100644 --- a/src/graphics/LoaderQueue.cpp +++ b/src/graphics/LoaderQueue.cpp @@ -23,8 +23,8 @@ using std::list; namespace lyx { namespace graphics { -int LoaderQueue::s_numimages_ = 5; -int LoaderQueue::s_millisecs_ = 500; +static int s_numimages_ = 5; +static int s_millisecs_ = 500; LoaderQueue & LoaderQueue::get() diff --git a/src/graphics/LoaderQueue.h b/src/graphics/LoaderQueue.h index 2259d74a2f..c68e017cf9 100644 --- a/src/graphics/LoaderQueue.h +++ b/src/graphics/LoaderQueue.h @@ -44,7 +44,7 @@ public: * millisecs is the time interval between calls. * Higher numimages, lower millisecs means higher priority. */ - static void setPriority(int numimages , int millisecs); + static void setPriority(int numimages, int millisecs); private: /// This class is a singleton class... use LoaderQueue::get() instead LoaderQueue(); @@ -58,10 +58,6 @@ private: Timeout timer; /// bool running_; - /// - static int s_numimages_ ; - /// - static int s_millisecs_ ; /** This is the 'threaded' method, that does the loading in the * background.