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.