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/theme/ThemeManagementDialog.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/modules/theme/ThemeManagementDialog.cpp') diff --git a/src/modules/theme/ThemeManagementDialog.cpp b/src/modules/theme/ThemeManagementDialog.cpp index a2ba82c0a..fb6317000 100644 --- a/src/modules/theme/ThemeManagementDialog.cpp +++ b/src/modules/theme/ThemeManagementDialog.cpp @@ -359,8 +359,7 @@ void ThemeManagementDialog::applyCurrentTheme() { QString szErr = out.lastError(); QString szMsg = QString(__tr2qs_ctx("Failed to apply the specified theme: %1", "theme")).arg(szErr); - QMessageBox::critical(this, __tr2qs_ctx("Apply Theme - KVIrc", "theme"), szMsg, - QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton); + QMessageBox::critical(this, __tr2qs_ctx("Apply Theme - KVIrc", "theme"), szMsg); return; } -- cgit v1.3.1-10-gc9f91