diff --git a/QCR/widgets/actions.cpp b/QCR/widgets/actions.cpp index 90884fde2ad5547b1a3888a66f2e5961568e89db..76ac210fbe9bc935eb3c40cfa52895d85bc71026 100644 --- a/QCR/widgets/actions.cpp +++ b/QCR/widgets/actions.cpp @@ -18,7 +18,6 @@ #include "QCR/engine/console.h" #include "QCR/widgets/mainwindow.h" //#include "QCR/base/debug.h" -#include <QApplication> // for qApp for new Action #include <iostream> // debug #define _SLOT_(Class, method, argType) static_cast<void (Class::*)(argType)>(&Class::method) @@ -26,7 +25,7 @@ // *********************************************************************************************** //! @class QcrAction -QcrAction::QcrAction(const QString& text) : QAction{text, qApp}, tooltip_{text} {} +QcrAction::QcrAction(const QString& text) : QAction{text}, tooltip_{text} {} // *********************************************************************************************** //! @class QcrTrigger diff --git a/QCR/widgets/controls.cpp b/QCR/widgets/controls.cpp index 37c57b2aa343265100888bdd6caf20fb33d44571..a4e8306436f9ffcd6aee3e4253d994cf3e1a41a3 100644 --- a/QCR/widgets/controls.cpp +++ b/QCR/widgets/controls.cpp @@ -17,7 +17,6 @@ #include "QCR/base/string_ops.h" #include "QCR/engine/console.h" //#include "QCR/base/debug.h" -#include <QApplication> // for qApp for new Action #include <iostream> // debug #define _SLOT_(Class, method, argType) static_cast<void (Class::*)(argType)>(&Class::method)