From acee0b6a99174d0f5606926aa3d436c72d2a1aed Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Thu, 5 Feb 2015 16:50:47 +0100 Subject: [PATCH] At least request activation if qtx11extras isn't available --- src/libtomahawk/utils/TomahawkUtilsGui.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libtomahawk/utils/TomahawkUtilsGui.cpp b/src/libtomahawk/utils/TomahawkUtilsGui.cpp index 0e2e5c3b0..fbfdbe0a9 100644 --- a/src/libtomahawk/utils/TomahawkUtilsGui.cpp +++ b/src/libtomahawk/utils/TomahawkUtilsGui.cpp @@ -364,6 +364,8 @@ bringToFront() // "Unminimize" first, otherwise the entry in the taskbar will only flash but the window won't come to front widget->windowHandle()->showNormal(); + widget->windowHandle()->requestActivate(); + #ifdef HAVE_X11 if ( QX11Info::isPlatformX11() ) {