mirror of https://gitee.com/openkylin/peony.git
close-cd #I64KZQ【文件管理器】文件管理器右键属性窗口有两层标题栏,修改复制窗口出现两层标题
This commit is contained in:
parent
0f772398d2
commit
80b19c5b1e
|
@ -116,6 +116,7 @@ ProgressBar *FileOperationProgressBar::addFileOperation()
|
|||
void FileOperationProgressBar::showProgress(ProgressBar &progress)
|
||||
{
|
||||
if (m_progress_size > 0) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(this);
|
||||
progress.show();
|
||||
show();
|
||||
}
|
||||
|
@ -400,6 +401,7 @@ void FileOperationProgressBar::showDelay(int msec)
|
|||
{
|
||||
QTimer::singleShot(msec, this, [=] () {
|
||||
if (m_list_widget->count() > 0 && !m_error) {
|
||||
kdk::UkuiStyleHelper::self()->removeHeader(this);
|
||||
show();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue