summaryrefslogtreecommitdiffstats
path: root/src/mixxx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixxx.cpp')
-rw-r--r--src/mixxx.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/mixxx.cpp b/src/mixxx.cpp
index d81ba5edd3..be6c6dedb7 100644
--- a/src/mixxx.cpp
+++ b/src/mixxx.cpp
@@ -233,7 +233,6 @@ void MixxxMainWindow::initialize(QApplication* pApp, const CmdlineArgs& args) {
pConfig->getValue(ConfigKey("[Controls]", "Tooltips"),
static_cast<int>(mixxx::TooltipsPreference::TOOLTIPS_ON)));
- setAttribute(Qt::WA_AcceptTouchEvents);
m_pTouchShift = new ControlPushButton(ConfigKey("[Controls]", "touch_shift"));
m_pDbConnectionPool = MixxxDb(pConfig).connectionPool();
@@ -1536,26 +1535,6 @@ bool MixxxMainWindow::eventFilter(QObject* obj, QEvent* event) {
return QObject::eventFilter(obj, event);
}
-bool MixxxMainWindow::event(QEvent* e) {
- switch(e->type()) {
- case QEvent::TouchBegin:
- case QEvent::TouchUpdate:
- case QEvent::TouchEnd:
- {
- // If the touch event falls through to the main widget, no touch widget
- // was touched, so we resend it as a mouse event.
- // We have to accept it here, so QApplication will continue to deliver
- // the following events of this touch point as well.
- QTouchEvent* touchEvent = static_cast<QTouchEvent*>(e);
- touchEvent->accept();
- return true;
- }
- default:
- break;
- }
- return QWidget::event(e);
-}
-
void MixxxMainWindow::closeEvent(QCloseEvent *event) {
// WARNING: We can receive a CloseEvent while only partially
// initialized. This is because we call QApplication::processEvents to