mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
fix more indent issue
This commit is contained in:
parent
b187c0ef41
commit
13dfd39e69
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue