mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
single click distinguish with double click
This commit is contained in:
parent
608f39244e
commit
8f4f3a3766
|
@ -61,7 +61,6 @@ bool ArticleWebView::eventFilter(QObject *obj, QEvent *ev)
|
||||||
QTimer::singleShot(QApplication::doubleClickInterval(),this,[=](){
|
QTimer::singleShot(QApplication::doubleClickInterval(),this,[=](){
|
||||||
singleClickAction(pe);
|
singleClickAction(pe);
|
||||||
});
|
});
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
doubleClickAction(pe);
|
doubleClickAction(pe);
|
||||||
|
|
Loading…
Reference in a new issue