aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help/index.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/help/index.cpp')
-rwxr-xr-xsrc/modules/help/index.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/help/index.cpp b/src/modules/help/index.cpp
index 659ff44cb..6a5440292 100755
--- a/src/modules/help/index.cpp
+++ b/src/modules/help/index.cpp
@@ -850,5 +850,6 @@ bool Index::searchForPattern( const QStringList &patterns, const QStringList &wo
}
-
-#include "index.moc" \ No newline at end of file
+#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES
+#include "index.moc"
+#endif //!COMPILE_USE_STANDALONE_MOC_SOURCES