]> git.lyx.org Git - lyx.git/blobdiff - src/support/Timeout.cpp
add onoff support for "inset-modify changetype xxx" in include inset
[lyx.git] / src / support / Timeout.cpp
index 0c5c279b8e51d5ee3ad3ea229ad031e872c8d2a7..127d3bd008d6680f72987b35e2e6c80244d3b0ea 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <config.h>
 
+#include "support/lassert.h"
 #include "support/Timeout.h"
 #include "support/debug.h"
 
@@ -29,7 +30,7 @@ public:
        ///
        Impl(Timeout & owner) : owner_(owner), timeout_id(-1) {}
        ///
-       bool running() const { return timeout_id != -1; } 
+       bool running() const { return timeout_id != -1; }
        /// start the timer
        void start();
        /// stop the timer
@@ -40,7 +41,7 @@ public:
        unsigned int timeout_ms() const { return owner_.timeout_ms; }
 
 protected:
-       /// 
+       ///
        void timerEvent(QTimerEvent *) { owner_.emit(); }
 
 private: