forked from openkylin/qt5-ukui-platformtheme
fixbug#190237 多次show同一个窗口时,使界面保持跟之前一样
This commit is contained in:
parent
6238a48547
commit
3777b9f9d4
|
@ -2577,6 +2577,10 @@ void KyFileDialogHelper::hide()
|
|||
|
||||
bool KyFileDialogHelper::show(Qt::WindowFlags windowFlags, Qt::WindowModality windowModality, QWindow *parent)
|
||||
{
|
||||
if(m_isShow){
|
||||
mKyFileDialog->delayShow();
|
||||
return true;
|
||||
}
|
||||
pDebug << "show........." << (options() == nullptr);
|
||||
if(parent != nullptr)
|
||||
pDebug << "window....:" << parent->x() << parent->y() << parent->width() << parent->height();
|
||||
|
|
Loading…
Reference in New Issue