Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [vault] There is a vertical line on the widget. #2102

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ void VaultRemoveByNoneWidget::slotCheckAuthorizationFinished(PolkitQt1::Authorit
return;
}

emit jumpPage(RemoveWidgetType::kRemoveProgressWidget);
QTimer::singleShot(0, this, [this](){
emit jumpPage(RemoveWidgetType::kRemoveProgressWidget);
});
}

void VaultRemoveByNoneWidget::initUI()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ void VaultRemoveByPasswordView::slotCheckAuthorizationFinished(PolkitQt1::Author
return;
}

emit signalJump(RemoveWidgetType::kRemoveProgressWidget);
QTimer::singleShot(0, this, [this](){
emit signalJump(RemoveWidgetType::kRemoveProgressWidget);
});
}

bool VaultRemoveByPasswordView::eventFilter(QObject *obj, QEvent *evt)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ void VaultRemoveByRecoverykeyView::slotCheckAuthorizationFinished(PolkitQt1::Aut
dialog.exec();
return;
}

emit signalJump(RemoveWidgetType::kRemoveProgressWidget);
QTimer::singleShot(0, this, [this](){
emit signalJump(RemoveWidgetType::kRemoveProgressWidget);
});
}

int VaultRemoveByRecoverykeyView::afterRecoveryKeyChanged(QString &str)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ void VaultRemovePages::showRecoveryKeyWidget()
void VaultRemovePages::showRemoveProgressWidget()
{
clearContents(true);
if (getButtons().size() > 1) {
getButton(0)->setVisible(false);
getButton(1)->setVisible(false);
}
clearButtons();

progressView = new VaultRemoveProgressView(this);
Expand Down
Loading