summaryrefslogtreecommitdiffhomepage
path: root/options/metatype.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-29 12:40:12 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-31 18:28:15 +0200
commita0f5131b04b94515be1700077715ae565daf7cbb (patch)
treeb435c30983e90750e986120862af1885208d5d55 /options/metatype.cpp
parente62f6fefcde7e2c2cb2de2cc8c5d4089ea6c84b8 (diff)
options/metatype: pass exact same name for sliders
That made sliders from 2.3.7 still incompatible. Apparently QVariant cares a lot about the difference between "options::slider_value", "::options::slider_value", and "slider_value".
Diffstat (limited to 'options/metatype.cpp')
-rw-r--r--options/metatype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/metatype.cpp b/options/metatype.cpp
index 2aef98bf..ed12821b 100644
--- a/options/metatype.cpp
+++ b/options/metatype.cpp
@@ -7,7 +7,7 @@ namespace detail {
custom_type_initializer::custom_type_initializer()
{
- OPENTRACK_REGISTER_METATYPE(::options::slider_value);
+ OPENTRACK_REGISTER_METATYPE(options::slider_value);
OPENTRACK_REGISTER_METATYPE(QList<double>);
OPENTRACK_REGISTER_METATYPE(QList<float>);
OPENTRACK_REGISTER_METATYPE(QList<int>);