summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Astals Cid <aacid@kde.org>2016-12-05 23:14:32 (GMT)
committerAlbert Astals Cid <aacid@kde.org>2016-12-06 00:04:10 (GMT)
commitd38b1d196a064e1c32068f5c42edf62b0bb40637 (patch)
treee68b18c4811511851e0c5c471daedffb82c8671a
parent7fdcdc764278cc0af8882f5519063e7f133c7a95 (diff)
Need Q_OBJECT in classes that call tr()v16.12.0
-rw-r--r--src/plugins/runner/routino/RoutinoPlugin.cpp3
-rw-r--r--src/plugins/runner/yours/YoursPlugin.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/runner/routino/RoutinoPlugin.cpp b/src/plugins/runner/routino/RoutinoPlugin.cpp
index 5380f91..9950736 100644
--- a/src/plugins/runner/routino/RoutinoPlugin.cpp
+++ b/src/plugins/runner/routino/RoutinoPlugin.cpp
@@ -67,6 +67,7 @@ RoutingRunner *RoutinoPlugin::newRunner() const
class RoutinoConfigWidget : public RoutingRunnerPlugin::ConfigWidget
{
+Q_OBJECT
public:
RoutinoConfigWidget()
: RoutingRunnerPlugin::ConfigWidget()
@@ -176,4 +177,4 @@ bool RoutinoPlugin::canWork() const
}
-#include "moc_RoutinoPlugin.cpp"
+#include "RoutinoPlugin.moc"
diff --git a/src/plugins/runner/yours/YoursPlugin.cpp b/src/plugins/runner/yours/YoursPlugin.cpp
index d6ade0b..e1499f4 100644
--- a/src/plugins/runner/yours/YoursPlugin.cpp
+++ b/src/plugins/runner/yours/YoursPlugin.cpp
@@ -69,6 +69,7 @@ RoutingRunner *YoursPlugin::newRunner() const
class YoursConfigWidget : public RoutingRunnerPlugin::ConfigWidget
{
+Q_OBJECT
public:
YoursConfigWidget()
: RoutingRunnerPlugin::ConfigWidget()
@@ -164,4 +165,4 @@ QHash< QString, QVariant > YoursPlugin::templateSettings(RoutingProfilesModel::P
}
-#include "moc_YoursPlugin.cpp"
+#include "YoursPlugin.moc"