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

Don't fix a height of sliders

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:
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->setRange(0, maxslider);
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