diff options
author | Mateusz Łukasik <mati75@linuxmint.pl> | 2017-11-13 13:23:19 +0100 |
---|---|---|
committer | Mateusz Łukasik <mati75@linuxmint.pl> | 2017-11-13 13:23:19 +0100 |
commit | 257473284e04d45384e8e504d3c69b79872785b0 (patch) | |
tree | 8b851289adcaee8a6523ac946cc69b68571c927d /src/baseguiplus.cpp | |
parent | 867f979d517190a0aaab06f4180cdd964a48677e (diff) |
New upstream version 17.11.0~ds0
Diffstat (limited to 'src/baseguiplus.cpp')
-rw-r--r-- | src/baseguiplus.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/baseguiplus.cpp b/src/baseguiplus.cpp index 2b6a673..701b0aa 100644 --- a/src/baseguiplus.cpp +++ b/src/baseguiplus.cpp @@ -942,6 +942,9 @@ void BaseGuiPlus::sendVideoToScreen(int screen) { //is_primary_screen = false; if (is_primary_screen) { mplayerwindow->showNormal(); + #if QT_VERSION >= 0x050000 && defined(Q_OS_LINUX) + qApp->processEvents(); + #endif detachVideo(false); } else { detachVideo(true); @@ -987,6 +990,9 @@ void BaseGuiPlus::detachVideo(bool detach) { mplayerwindow->setWindowTitle(QString::null); mplayerwindow->setParent(panel); + #if QT_VERSION >= 0x050000 && defined(Q_OS_LINUX) + qApp->processEvents(); + #endif panel->layout()->addWidget(mplayerwindow); } } |