summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-01-16 11:20:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 11:20:25 +0100
commitc106c4a28a8d05a5c085cf69dd0eec704b7a6f97 (patch)
treeed57f0aa81dbaebb00318241fd91144241dae255
parent48f830f74383837004ad12f6f20143422e98c27d (diff)
options/slider: fix temporary constness
-rw-r--r--options/slider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/options/slider.cpp b/options/slider.cpp
index aea3c48a..b64358c1 100644
--- a/options/slider.cpp
+++ b/options/slider.cpp
@@ -86,7 +86,7 @@ QDataStream& operator << (QDataStream& out, const options::slider_value& v)
QDebug operator << (QDebug dbg, const options::slider_value& v)
{
return dbg << QStringLiteral("slider_value(cur=%1, min=%2, max=%3)")
- .arg(v.cur()).arg(v.min()).arg(v.max()).toUtf8().data();
+ .arg(v.cur()).arg(v.min()).arg(v.max()).toUtf8().constData();
}
QDataStream& operator >> (QDataStream& in, options::slider_value& v)