summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-10-31 23:25:21 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-11-01 10:15:13 +0100
commit1bcc1f5a00fb7de95ffca1b2d7b8bdb2d58576a8 (patch)
tree27ca1cae6431fdda0268acf96f85d5a4e4b70ead /vcl
parent9732a89b6bfff019ca0ac816cd821f049ab6ebbf (diff)
tdf#130857 qt weld: Actually set link button URI as URI
Fix copy paste error: Take the value for the "uri" property whose existence was just checked, not the "label" one again as a few lines above. Change-Id: I1bf1251c14ba9dbda2b2f4ea73d35b612f4d0bb0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175888 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/QtBuilder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/QtBuilder.cxx b/vcl/qt5/QtBuilder.cxx
index 88a26661bbad..330774715bbb 100644
--- a/vcl/qt5/QtBuilder.cxx
+++ b/vcl/qt5/QtBuilder.cxx
@@ -220,7 +220,7 @@ QObject* QtBuilder::makeObject(QObject* pParent, std::u16string_view sName, cons
if (rMap.contains(u"label"_ustr))
pLabel->setDisplayText(toQString(rMap[u"label"_ustr]));
if (rMap.contains(u"uri"_ustr))
- pLabel->setUri(toQString(rMap[u"label"_ustr]));
+ pLabel->setUri(toQString(rMap[u"uri"_ustr]));
pObject = pLabel;
}