1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

Work around showNormal() being broken in Qt5.4.

This commit is contained in:
Christian Muehlhaeuser 2015-04-11 21:20:15 +02:00
parent b1e4541964
commit 571f00611e

View File

@ -358,7 +358,9 @@ bringToFront()
return;
// "Unminimize" first, otherwise the entry in the taskbar will only flash but the window won't come to front
widget->windowHandle()->showNormal();
widget->show();
// widget->windowHandle()->showNormal(); // this is fucked: https://bugreports.qt.io/browse/QTBUG-31117
widget->windowHandle()->requestActivate();
#ifdef HAVE_X11