We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5fd955e + 139a9f8 commit 24de54fCopy full SHA for 24de54f
a00_qpip/utils.py
@@ -85,13 +85,13 @@ def run_cmd(args, description="running a system command"):
85
if process.returncode != 0:
86
warn(f"Command failed.")
87
message = QMessageBox(
88
- QMessageBox.Warning,
+ QMessageBox.Icon.Warning,
89
"Command failed",
90
f"Encountered an error while {description} !",
91
parent=iface.mainWindow(),
92
)
93
message.setDetailedText(full_output)
94
- message.exec_()
+ message.exec()
95
else:
96
log("Command succeeded.")
97
iface.messageBar().pushMessage(
0 commit comments