diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-20 14:04:08 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-07-20 14:04:08 +0200 |
commit | 32349f6b8cb6d6331df06749bcb29744df6e1ae2 (patch) | |
tree | 290ac6c31a1181669594f1de100fa9b2c6c91c19 /options/metatype.cpp | |
parent | bc1bbb4739cf4c2147dc78a43bf90f5a7258ec62 (diff) |
options/metatype: nuke it
The code isn't necessary, and causes uninitialized
memory access when playing with QVariant later.
Diffstat (limited to 'options/metatype.cpp')
-rw-r--r-- | options/metatype.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/options/metatype.cpp b/options/metatype.cpp deleted file mode 100644 index 8f92f385..00000000 --- a/options/metatype.cpp +++ /dev/null @@ -1,23 +0,0 @@ -#include "slider.hpp" -#include "metatype.hpp" - -#define OPENTRACK_REGISTER_METATYPE(t) ::options::detail::custom_type_initializer::declare_for_type<t>(#t) - -namespace options { -namespace detail { - -custom_type_initializer::custom_type_initializer() -{ - OPENTRACK_REGISTER_METATYPE(slider_value); - OPENTRACK_REGISTER_METATYPE(QList<double>); - OPENTRACK_REGISTER_METATYPE(QList<float>); - OPENTRACK_REGISTER_METATYPE(QList<int>); - OPENTRACK_REGISTER_METATYPE(QList<bool>); - OPENTRACK_REGISTER_METATYPE(QList<QString>); - OPENTRACK_REGISTER_METATYPE(QList<QPointF>); -} - -const custom_type_initializer custom_type_initializer::singleton; - -} -} |