diff options
| author | 2023-10-10 17:58:14 +0200 | |
|---|---|---|
| committer | 2023-10-18 10:26:35 +0200 | |
| commit | 9052018b53ece6c073b57c89665ae693a3f0fb97 (patch) | |
| tree | 24dd1cba8974439f646a242bc0cb228076fa38b2 /src/modules/actioneditor/ActionEditor.cpp | |
| parent | Address feedback for XmlFunctions.cpp (diff) | |
| download | KVIrc-9052018b53ece6c073b57c89665ae693a3f0fb97.tar.gz KVIrc-9052018b53ece6c073b57c89665ae693a3f0fb97.tar.bz2 KVIrc-9052018b53ece6c073b57c89665ae693a3f0fb97.zip | |
Migrate almost all QMessagebox to qt6-friendly version.
Diffstat (limited to 'src/modules/actioneditor/ActionEditor.cpp')
| -rw-r--r-- | src/modules/actioneditor/ActionEditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/actioneditor/ActionEditor.cpp b/src/modules/actioneditor/ActionEditor.cpp index d90d4fb35..3a7b10a13 100644 --- a/src/modules/actioneditor/ActionEditor.cpp +++ b/src/modules/actioneditor/ActionEditor.cpp @@ -744,7 +744,7 @@ void ActionEditor::exportActions() if(!KviFileUtils::writeFile(szFile, szCode)) { - QMessageBox::warning(this, __tr2qs_ctx("Writing to File Failed - KVIrc", "editor"), __tr2qs_ctx("Unable to write to the actions file.", "editor"), __tr2qs_ctx("OK", "editor")); + QMessageBox::warning(this, __tr2qs_ctx("Writing to File Failed - KVIrc", "editor"), __tr2qs_ctx("Unable to write to the actions file.", "editor")); } } @@ -762,7 +762,7 @@ void ActionEditor::deleteActions() if(l.isEmpty()) return; - //if(QMessageBox::question(this,__tr2qs_ctx("Confirm Actions Deletion - KVIrc","editor"),__tr2qs_ctx("Do you really want to delete the selected actions?","editor"),__tr2qs_ctx("Yes","editor"),__tr2qs_ctx("No","editor")) != 0) + //if(QMessageBox::question(this,__tr2qs_ctx("Confirm Actions Deletion - KVIrc","editor"),__tr2qs_ctx("Do you really want to delete the selected actions?","editor")) != QMessageBox::Yes) // return; for(ActionEditorTreeWidgetItem * i = l.first(); i; i = l.next()) |
