silence bad macOS warning
This commit is contained in:
parent
4c4e6dbcbf
commit
353a0b017f
1 changed files with 5 additions and 0 deletions
|
@ -35,6 +35,7 @@
|
||||||
#include <QTransform>
|
#include <QTransform>
|
||||||
#include <QSignalBlocker>
|
#include <QSignalBlocker>
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
|
#include <QLoggingCategory>
|
||||||
|
|
||||||
using OrderedJson = poryjson::Json;
|
using OrderedJson = poryjson::Json;
|
||||||
using OrderedJsonDoc = poryjson::JsonDoc;
|
using OrderedJsonDoc = poryjson::JsonDoc;
|
||||||
|
@ -66,6 +67,10 @@ MainWindow::MainWindow(QWidget *parent) :
|
||||||
setWindowDisabled(false);
|
setWindowDisabled(false);
|
||||||
on_toolButton_Paint_clicked();
|
on_toolButton_Paint_clicked();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// there is a bug affecting macOS users, where the trackpad deilveres a bad touch-release gesture
|
||||||
|
// the warning is a bit annoying, so it is disabled here
|
||||||
|
QLoggingCategory::setFilterRules(QStringLiteral("qt.pointer.dispatch=false"));
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
|
|
Loading…
Reference in a new issue