Commit cd544890 authored by Milian Wolff's avatar Milian Wolff

Fix build with CMake 3.10

Looks like a classic false-positive, but this makes the compile
pass for me without making the code harder to read:

AutoMoc error
The file contains a K_PLUGIN_FACTORY macro, but does not include "main.moc"!
Consider to
 - add #include "main.moc"
 - enable SKIP_AUTOMOC for this file

So we just add the include and then get rid of the duplicate
definition of the plugin factory and the problem is resolved.
parent efac8c35
......@@ -22,3 +22,5 @@
#include "main.moc"
......@@ -40,8 +40,6 @@
#include "version.h"
Module::Module(QWidget *parent, const QVariantList &args) :
KCModule(parent, args),
ui(new Ui::Module),
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