diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-29 16:18:21 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-04-29 16:18:21 +0200 |
commit | c4942d72935cacc150815f2f5221c71fc3f05bc1 (patch) | |
tree | c3d910986d8467a2c9e9a5451b7ef05930beeb50 /options/tie.cpp | |
parent | c231d6a2ba35281f57024a195e50db6640a6413d (diff) |
options/tie: allow for binding with a format string
Diffstat (limited to 'options/tie.cpp')
-rw-r--r-- | options/tie.cpp | 2 |
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) |