Commit d38b1d19 authored by Albert Astals Cid's avatar Albert Astals Cid

Need Q_OBJECT in classes that call tr()

parent 7fdcdc76
......@@ -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"
......@@ -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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment