summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--uui/source/openlocked.cxx3
-rw-r--r--vcl/uiconfig/ui/openlockedquerybox.ui1
2 files changed, 1 insertions, 3 deletions
diff --git a/uui/source/openlocked.cxx b/uui/source/openlocked.cxx
index 453022b912ab..adcf060a2274 100644
--- a/uui/source/openlocked.cxx
+++ b/uui/source/openlocked.cxx
@@ -57,9 +57,6 @@ OpenLockedQueryBox::OpenLockedQueryBox(weld::Window* pParent, const OUString& rH
, mxNotifyBtn(m_xBuilder->weld_check_button("notify"))
, mxHiddenText(m_xBuilder->weld_label("hiddentext"))
{
- //set up the image
- mxQuestionMarkImage->set_from_icon_name(u"vcl/res/help.png");
-
//setup click hdl
mxOpenReadOnlyBtn->connect_clicked(LINK(this, OpenLockedQueryBox, ClickHdl));
mxOpenCopyBtn->connect_clicked(LINK(this, OpenLockedQueryBox, ClickHdl));
diff --git a/vcl/uiconfig/ui/openlockedquerybox.ui b/vcl/uiconfig/ui/openlockedquerybox.ui
index 54efbad18e4d..74094e793024 100644
--- a/vcl/uiconfig/ui/openlockedquerybox.ui
+++ b/vcl/uiconfig/ui/openlockedquerybox.ui
@@ -68,6 +68,7 @@
<property name="valign">start</property>
<property name="margin-start">24</property>
<property name="margin-top">70</property>
+ <property name="icon-name">vcl/res/help.png</property>
<child internal-child="accessible">
<object class="AtkObject" id="questionmark-atkobject">
<property name="AtkObject::accessible-name" translatable="yes" context="openlockedquerybox|questionmark">Question mark image</property>