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/raweditor/RawEditorWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/raweditor/RawEditorWindow.cpp') diff --git a/src/modules/raweditor/RawEditorWindow.cpp b/src/modules/raweditor/RawEditorWindow.cpp index 0cfb8489c..e3277673d 100644 --- a/src/modules/raweditor/RawEditorWindow.cpp +++ b/src/modules/raweditor/RawEditorWindow.cpp @@ -423,7 +423,7 @@ void RawEditorWidget::exportCurrentHandler() if(!KviFileUtils::writeFile(szFile, szOut)) { - QMessageBox::warning(this, __tr2qs_ctx("Writing to File Failed - KVIrc", "editor"), __tr2qs_ctx("Unable to write to the RAW events file.", "editor"), __tr2qs_ctx("&OK", "editor")); + QMessageBox::warning(this, __tr2qs_ctx("Writing to File Failed - KVIrc", "editor"), __tr2qs_ctx("Unable to write to the RAW events file.", "editor")); } } @@ -460,7 +460,7 @@ void RawEditorWidget::exportAllEvents() if(!KviFileUtils::writeFile(szFile, out)) { - QMessageBox::warning(this, __tr2qs_ctx("Writing to File Failed - KVIrc", "editor"), __tr2qs_ctx("Unable to write to the RAW events file.", "editor"), __tr2qs_ctx("OK", "editor")); + QMessageBox::warning(this, __tr2qs_ctx("Writing to File Failed - KVIrc", "editor"), __tr2qs_ctx("Unable to write to the RAW events file.", "editor")); } } -- cgit v1.3.1-10-gc9f91