From 1e7b83adcb2ac3f5e71bca04d834ff7c7fd5d377 Mon Sep 17 00:00:00 2001 From: lijiawei Date: Thu, 12 Oct 2023 11:08:18 +0800 Subject: [PATCH] =?UTF-8?q?fix(Bug#127028)=E3=80=90wayland=E3=80=91?= =?UTF-8?q?=E3=80=90=E9=9F=B3=E4=B9=90=E3=80=91=E7=82=B9=E5=87=BB=E9=99=A4?= =?UTF-8?q?=E6=92=AD=E6=94=BE=E5=8E=86=E5=8F=B2=E5=A4=96=E5=85=B6=E4=BB=96?= =?UTF-8?q?=E9=80=89=E9=A1=B9=EF=BC=8C=E6=92=AD=E6=94=BE=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E4=BB=8D=E6=98=BE=E7=A4=BA=E5=B7=B2=E9=80=89=E4=B8=AD=20?= =?UTF-8?q?=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- UI/tableview/tablehistory.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/UI/tableview/tablehistory.cpp b/UI/tableview/tablehistory.cpp index 39e6b3a..4fc1cc5 100644 --- a/UI/tableview/tablehistory.cpp +++ b/UI/tableview/tablehistory.cpp @@ -1,6 +1,7 @@ #include "tablehistory.h" #include "UI/mainwidget.h" #include "UI/base/widgetstyle.h" +#include "UIControl/global/global.h" #define PT_15 15 @@ -237,7 +238,12 @@ void TableHistory::showHistroryPlayList() signalHistoryBtnChecked(false); } else { Widget::mutual->movePlayHistoryWid(); - this->show(); + if (Global::isWayland) { + this->exec(); + } + else{ + this->show(); + } signalHistoryBtnChecked(true); this->raise(); }