From a60ccb091ed26e5287d29ea1df885bf144c74b3f Mon Sep 17 00:00:00 2001 From: Michael Weghorn Date: Sun, 24 Nov 2024 00:50:39 +0100 Subject: [PATCH] tdf#130857 qt weld: Support "Safe Mode" dialog Now that "GtkExpander" support has been implemented, declare support for the "Safe Mode" dialog that can be triggered via "Help" -> "Restart in Safe Mode" and confirming with "Restart". This means that native Qt widgets are used for that dialog now when using the qt5 or qt6 VCL plugin and starting LO with environment variable SAL_VCL_QT_USE_WELDED_WIDGETS=1 set. Change-Id: I67ef04356a5147c24442cd3ec84e4bbc644b3a71 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177196 Tested-by: Jenkins Reviewed-by: Michael Weghorn --- vcl/qt5/QtInstanceBuilder.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/vcl/qt5/QtInstanceBuilder.cxx b/vcl/qt5/QtInstanceBuilder.cxx index 1cfb2349f431..8971fbcda96e 100644 --- a/vcl/qt5/QtInstanceBuilder.cxx +++ b/vcl/qt5/QtInstanceBuilder.cxx @@ -71,6 +71,7 @@ bool QtInstanceBuilder::IsUIFileSupported(const OUString& rUIFile) u"sfx/ui/safemodequerydialog.ui"_ustr, u"svt/ui/printersetupdialog.ui"_ustr, u"svt/ui/restartdialog.ui"_ustr, + u"svx/ui/safemodedialog.ui"_ustr, u"vcl/ui/openlockedquerybox.ui"_ustr, u"vcl/ui/printprogressdialog.ui"_ustr, u"writerperfect/ui/exportepub.ui"_ustr,