summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--facetracknoir/facetracknoir.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index d5d24db1..0aea755c 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -1286,7 +1286,8 @@ void FaceTrackNoIR::protocolSelected(int index)
trayIcon->setIcon(icon);
trayIcon->setToolTip(ui.iconcomboProtocol->itemText(index));
trayIcon->show();
- trayIcon->showMessage( "FaceTrackNoIR", ui.iconcomboProtocol->itemText(index));
+ QApplication::sendPostedEvents(trayIcon, QEventLoop::AllEvents);
+ trayIcon->showMessage( "FaceTrackNoIR", ui.iconcomboProtocol->itemText(index));
}
//setWindowIcon(QIcon(":/images/FaceTrackNoIR.png"));
//breaks with transparency -sh