summaryrefslogtreecommitdiff
path: root/navit/graphics
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2019-06-18 13:37:12 +0200
committerjkoan <jkoan@users.noreply.github.com>2019-06-18 13:37:12 +0200
commit976ab4b79860626077a266f90261da257c959efc (patch)
tree5d848d660b7ddc33c2917f2369e89a681e3c35d0 /navit/graphics
parent3974cb7e4821b4e131cd677fd609433a05c453b3 (diff)
downloadnavit-976ab4b79860626077a266f90261da257c959efc.tar.gz
fix:graphics:qt5: Remove unnecessary moc includes. (#798)
* Remove unnecessary moc includes. This commit removes moc file includes for some classes which do not define new qt classes. This caused a long standing warning which seems to be treated as error on some setups. * Make (in)sanity check happy. Here you got your bloody spaces. Uber picky, isn't it? * Remove QAudio::interruptedState again Sailfish version of QT doesn't feature this yet.
Diffstat (limited to 'navit/graphics')
-rw-r--r--navit/graphics/qt5/QNavitWidget.cpp2
-rw-r--r--navit/graphics/qt5/event_qt5.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/navit/graphics/qt5/QNavitWidget.cpp b/navit/graphics/qt5/QNavitWidget.cpp
index 355187b49..869d5f2ec 100644
--- a/navit/graphics/qt5/QNavitWidget.cpp
+++ b/navit/graphics/qt5/QNavitWidget.cpp
@@ -41,7 +41,7 @@ extern "C" {
#include <windows.h>
#endif
#include "QNavitWidget.h"
-#include "QNavitWidget.moc"
+//#include "QNavitWidget.moc"
#include "graphics_qt5.h"
QNavitWidget::QNavitWidget(struct graphics_priv* my_graphics_priv,
diff --git a/navit/graphics/qt5/event_qt5.cpp b/navit/graphics/qt5/event_qt5.cpp
index 7186534fe..99361011c 100644
--- a/navit/graphics/qt5/event_qt5.cpp
+++ b/navit/graphics/qt5/event_qt5.cpp
@@ -44,7 +44,7 @@ extern "C" {
#endif
#include "event_qt5.h"
-#include "event_qt5.moc"
+//#include "event_qt5.moc"
#include "graphics_qt5.h"
#include <QSocketNotifier>