diff --git a/main.cpp b/main.cpp --- a/main.cpp +++ b/main.cpp @@ -17,12 +17,14 @@ along with serialplot. If not, see . */ -#include "mainwindow.h" #include #include +#include "mainwindow.h" +#include "tooltipfilter.h" #include "version.h" + MainWindow* pMainWindow; void messageHandler(QtMsgType type, const QMessageLogContext &context, @@ -40,6 +42,9 @@ int main(int argc, char *argv[]) qInstallMessageHandler(messageHandler); + ToolTipFilter ttf; + a.installEventFilter(&ttf); + // log application information qDebug() << "SerialPlot" << VERSION_STRING; qDebug() << "Revision" << VERSION_REVISION;