Skip to content
Permalink
Browse files

MainWindow: only trigger link tooltips of Mumble is the frontmost pro…

…gram.

Fixes #1372
  • Loading branch information...
mkrautz authored and hacst committed Sep 7, 2014
1 parent d84a2dc commit 8ad8812bdc90791832c48ce546d14acba7d2d8ae
Showing with 5 additions and 2 deletions.
  1. +5 −2 src/mumble/MainWindow.cpp
@@ -2809,8 +2809,11 @@ void MainWindow::on_qteLog_highlighted(const QUrl &url) {

if (! url.isValid())
QToolTip::hideText();
else
QToolTip::showText(QCursor::pos(), url.toString(), qteLog, QRect());
else {
if (qApp->activeWindow() != NULL) {
QToolTip::showText(QCursor::pos(), url.toString(), qteLog, QRect());
}
}
}

void MainWindow::on_qdwChat_dockLocationChanged(Qt::DockWidgetArea) {

0 comments on commit 8ad8812

Please sign in to comment.
You can’t perform that action at this time.