diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 00:28:18 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-04-28 00:28:18 +0200 |
commit | 13ff773a47552e9dac2d57ba810e01ebcaa64b53 (patch) | |
tree | 8f1a2d8d81fee884c5feba83ad6d14f57e20a387 /options/slider.cpp | |
parent | d317b5caaf433ae12907663db3a7e60c5082a0d1 (diff) |
options/qt: cleanup metatype definition
Also note Koenig lookup works
Diffstat (limited to 'options/slider.cpp')
-rw-r--r-- | options/slider.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/options/slider.cpp b/options/slider.cpp index 33000ee9..5c73d867 100644 --- a/options/slider.cpp +++ b/options/slider.cpp @@ -86,10 +86,6 @@ int slider_value::to_slider_pos(int q_min, int q_max) const return int(std::round(((cur() - min()) * q_diff / div) + q_min)); } -} // end ns options - -QT_BEGIN_NAMESPACE - QDataStream& operator << (QDataStream& out, const options::slider_value& v) { out << v.cur() @@ -111,4 +107,4 @@ QDataStream& operator >> (QDataStream& in, options::slider_value& v) return in; } -QT_END_NAMESPACE +} // end ns options |