aboutsummaryrefslogtreecommitdiff
path: root/src/qt/forms/optionsdialog.ui
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-12-09 11:07:16 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-12-09 11:12:20 +0100
commit67f36e0b2ce0f99b90578e7e1dd9e0624026bcfa (patch)
treebf0d06b2a73802965d643d476950776f8b962f92 /src/qt/forms/optionsdialog.ui
parent91559da683dbf5de101b7722cdac341963d2433a (diff)
downloadbitcoin-67f36e0b2ce0f99b90578e7e1dd9e0624026bcfa.tar.xz
gui: Move static placeholder texts to forms
There was an issue around the time of Qt 4.6 when placeholder text was introduced, that caused a compile failure when it was specified in the form. As a workaround the placeholder texts were moved to the code. Qt 4 hasn't been relevant to us for ages. So move all (non-parametrized) placeholder texts to the form files instead. It's better to keep this kind of text content together. Makes sure translate/no-translate status is kept as it is.
Diffstat (limited to 'src/qt/forms/optionsdialog.ui')
-rw-r--r--src/qt/forms/optionsdialog.ui3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/forms/optionsdialog.ui b/src/qt/forms/optionsdialog.ui
index 240a7a7e92..fea759dee0 100644
--- a/src/qt/forms/optionsdialog.ui
+++ b/src/qt/forms/optionsdialog.ui
@@ -685,6 +685,9 @@
<property name="toolTip">
<string>Third party URLs (e.g. a block explorer) that appear in the transactions tab as context menu items. %s in the URL is replaced by transaction hash. Multiple URLs are separated by vertical bar |.</string>
</property>
+ <property name="placeholderText">
+ <string notr="true">https://example.com/tx/%s</string>
+ </property>
</widget>
</item>
</layout>