Commit 160938ff authored by Alexander Volkov's avatar Alexander Volkov

Don't fix a height of sliders

Summary:
It's a bad practice to use magic constants in code, rely on a
style instead.

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D5885
parent df985991
......@@ -48,7 +48,6 @@ GammaCtrl::GammaCtrl(QWidget *parent, XVidExtWrap *xvid, int channel, \
QHBoxLayout *layout = new QHBoxLayout(this);
slider = new QSlider(Qt::Horizontal, this);
slider->setFixedHeight(24);
slider->setTickPosition(QSlider::TicksBelow);
slider->setRange(0, maxslider);
slider->setTickInterval(2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment