aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/fakevim/fakevimhandler.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/src/plugins/fakevim/fakevimhandler.cpp b/src/plugins/fakevim/fakevimhandler.cpp
index 6823965065..23a52793e8 100644
--- a/src/plugins/fakevim/fakevimhandler.cpp
+++ b/src/plugins/fakevim/fakevimhandler.cpp
@@ -1042,14 +1042,6 @@ inline QString msgMarkNotSet(const QString &text)
return Tr::tr("Mark \"%1\" not set.").arg(text);
}
-static void initSingleShotTimer(QTimer *timer, int interval, FakeVimHandler::Private *receiver,
- void (FakeVimHandler::Private::*slot)())
-{
- timer->setSingleShot(true);
- timer->setInterval(interval);
- QObject::connect(timer, &QTimer::timeout, receiver, slot);
-}
-
class Input
{
public:
@@ -2409,6 +2401,16 @@ public:
FakeVimSettings &s = *fakeVimSettings();
};
+static void initSingleShotTimer(QTimer *timer,
+ int interval,
+ FakeVimHandler::Private *receiver,
+ void (FakeVimHandler::Private::*slot)())
+{
+ timer->setSingleShot(true);
+ timer->setInterval(interval);
+ QObject::connect(timer, &QTimer::timeout, receiver, slot);
+}
+
FakeVimHandler::Private::GlobalData FakeVimHandler::Private::g;
FakeVimHandler::Private::Private(FakeVimHandler *parent, QWidget *widget)