summaryrefslogtreecommitdiffhomepage
path: root/options/slider.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'options/slider.cpp')
-rw-r--r--options/slider.cpp6
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