From 9052018b53ece6c073b57c89665ae693a3f0fb97 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 10 Oct 2023 17:58:14 +0200 Subject: Migrate almost all QMessagebox to qt6-friendly version. --- src/modules/actioneditor/ActionEditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/actioneditor/ActionEditor.cpp') 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()) -- cgit v1.3.1-10-gc9f91