summaryrefslogtreecommitdiff
path: root/src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl')
-rw-r--r--src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl b/src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl
index 1c3450a..f7c576a 100644
--- a/src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl
+++ b/src/tools/ivigenerator/templates/server_qtro/core.cpp.tpl
@@ -42,7 +42,7 @@
#include "{{class|lower}}.h"
-#include "{{module.module_name|lower}}module.h"
+#include "{{module.module_name|lower}}.h"
#include <QCoreApplication>
#include <QSettings>
@@ -63,7 +63,7 @@ QT_BEGIN_NAMESPACE
void {{class}}::init()
{
- {{module.module_name|upperfirst}}Module::registerTypes();
+ {{module.module_name|upperfirst}}::registerTypes();
QString configPath(QStringLiteral("./server.conf"));
if (qEnvironmentVariableIsSet("SERVER_CONF_PATH"))
configPath = QString::fromLocal8Bit(qgetenv("SERVER_CONF_PATH"));