mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-26 15:36:19 +01:00
scripted-diff: Rename ShowModalDialogAndDeleteOnClose
-BEGIN VERIFY SCRIPT- sed -i 's/ShowModalDialogAndDeleteOnClose/ShowModalDialogAsynchronously/' -- $(git grep -l -e "ShowModalDialogAndDeleteOnClose") -END VERIFY SCRIPT- It is important to highlight that a modal dialog is showed asynchronously as there are cases when the synchronous QDialog::exec() is required.
This commit is contained in:
@@ -984,7 +984,7 @@ void PrintSlotException(
|
||||
PrintExceptionContinue(exception, description.c_str());
|
||||
}
|
||||
|
||||
void ShowModalDialogAndDeleteOnClose(QDialog* dialog)
|
||||
void ShowModalDialogAsynchronously(QDialog* dialog)
|
||||
{
|
||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||
dialog->setWindowModality(Qt::ApplicationModal);
|
||||
|
||||
Reference in New Issue
Block a user