close-cd #I64KZQ【文件管理器】文件管理器右键属性窗口有两层标题栏,修改复制窗口出现两层标题

This commit is contained in:
yangyanwei 2023-01-04 10:58:32 +08:00 committed by Yue-Lan
parent 0f772398d2
commit 80b19c5b1e
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}
});