From 13dfd39e69afde7c64466794b0c248b2ab9e5d53 Mon Sep 17 00:00:00 2001 From: ngn999 Date: Wed, 30 Mar 2022 23:10:37 +0800 Subject: [PATCH] fix more indent issue --- articleview.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/articleview.cc b/articleview.cc index bbc38567..fc79fb93 100644 --- a/articleview.cc +++ b/articleview.cc @@ -813,12 +813,13 @@ bool ArticleView::eventFilter( QObject * obj, QEvent * ev ) { #ifdef Q_OS_MAC - if (ev->type() == QEvent::NativeGesture) { - qDebug() << "it's a Native Gesture!"; - // handle Qt::ZoomNativeGesture Qt::SmartZoomNativeGesture here - // ignore swipe left/right. - // QWebEngine can handle Qt::SmartZoomNativeGesture. - } + if( ev->type() == QEvent::NativeGesture ) + { + qDebug() << "it's a Native Gesture!"; + // handle Qt::ZoomNativeGesture Qt::SmartZoomNativeGesture here + // ignore swipe left/right. + // QWebEngine can handle Qt::SmartZoomNativeGesture. + } #else if( ev->type() == QEvent::Gesture )