diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-04 14:07:51 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-04 11:06:26 +0100 |
| commit | 04d8ad2373faf5629eacfcc4987e6c6efabfe108 (patch) | |
| tree | 133c2e0a34d9405cdd7251cf3bb612f51c5db1d6 /src | |
| parent | 8cfa899b316040799d3a37b912ecfcb142b78fbd (diff) | |
| download | kristall-04d8ad2373faf5629eacfcc4987e6c6efabfe108.tar.gz | |
fix build failures
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/kristalltextbrowser.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widgets/kristalltextbrowser.cpp b/src/widgets/kristalltextbrowser.cpp index f94485e..b92bf0f 100644 --- a/src/widgets/kristalltextbrowser.cpp +++ b/src/widgets/kristalltextbrowser.cpp @@ -37,7 +37,8 @@ void KristallTextBrowser::mouseMoveEvent(QMouseEvent *event) // because QTextBrowser for some reason resets viewport cursor // to ArrowCursor after we hover over links const QCursor& cur = this->viewport()->cursor(); - if (cur != this->wanted_cursor && cur != Qt::PointingHandCursor) + if (cur.shape() != this->wanted_cursor.shape() && + cur.shape() != Qt::PointingHandCursor) { this->viewport()->setCursor(wanted_cursor); } |
