]> jfr.im git - irc/kvirc/KVIrc.git/commitdiff
Make the current mouse position the origin of the tooltips of the user list.
authorwodim <redacted>
Tue, 29 Aug 2017 10:36:12 +0000 (12:36 +0200)
committerwodim <redacted>
Tue, 29 Aug 2017 10:36:12 +0000 (12:36 +0200)
Fixes #2280

src/kvirc/ui/KviUserListView.cpp

index 0fbcb2466d78a083ca9906fc4f4896fb7aa1992b..6a520511b8f1d4a948b589625e10dbc1eb198963 100644 (file)
@@ -1648,7 +1648,7 @@ void KviUserListView::maybeTip(KviUserListToolTip * pTip, const QPoint & pnt)
                                szBuffer += "</font></td></tr>";
                        }
 
-                       pTip->doTip(itRect, szBuffer);
+                       pTip->doTip(QRect(pnt, pnt), szBuffer);
                }
        }
 }