summaryrefslogtreecommitdiffhomepage
path: root/options/tie.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-29 16:18:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-29 16:18:21 +0200
commitc4942d72935cacc150815f2f5221c71fc3f05bc1 (patch)
treec3d910986d8467a2c9e9a5451b7ef05930beeb50 /options/tie.cpp
parentc231d6a2ba35281f57024a195e50db6640a6413d (diff)
options/tie: allow for binding with a format string
Diffstat (limited to 'options/tie.cpp')
-rw-r--r--options/tie.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/tie.cpp b/options/tie.cpp
index ce0e5a35..934871a9 100644
--- a/options/tie.cpp
+++ b/options/tie.cpp
@@ -103,7 +103,7 @@ OTR_OPTIONS_EXPORT void tie_setting(value<QString>& v, QLineEdit* le)
OTR_OPTIONS_EXPORT void tie_setting(value<QString>& v, QLabel* lb)
{
lb->setText(v);
- base_value::connect(&v, SIGNAL(valueChanged(QString)), lb, SLOT(setText(QString)), v.DIRECT_CONNTYPE);
+ base_value::connect(&v, SIGNAL(valueChanged(QString)), lb, SLOT(setText(QString)), v.SAFE_CONNTYPE);
}
OTR_OPTIONS_EXPORT void tie_setting(value<int>& v, QTabWidget* t)