summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/styles/liquid/liquidset.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/styles/liquid/liquidset.cpp b/noncore/styles/liquid/liquidset.cpp
index ea0b3c9..255456c 100644
--- a/noncore/styles/liquid/liquidset.cpp
+++ b/noncore/styles/liquid/liquidset.cpp
@@ -79,48 +79,50 @@ LiquidSettings::LiquidSettings ( QWidget* parent, const char *name, WFlags fl )
grid-> addWidget ( m_opaclbl = new QLabel ( tr( "Opacity" ), this ), 1, 1 );
m_menubtn = new OColorButton ( this );
m_menubtn-> setColor ( mcol );
grid-> addWidget ( m_menubtn, 0, 2 );
m_textbtn = new OColorButton ( this );
m_textbtn-> setColor ( tcol );
grid-> addWidget ( m_textbtn, 0, 5 );
m_opacsld = new QSlider ( Horizontal, this );
m_opacsld-> setRange ( -20, 20 );
+ m_opacsld-> setSteps ( 1, 1 );
m_opacsld-> setValue ( opacity );
m_opacsld-> setTickmarks ( QSlider::Below );
grid-> addMultiCellWidget ( m_opacsld, 1, 1, 2, 5 );
vbox-> addSpacing ( 4 );
QCheckBox *shadow = new QCheckBox ( tr( "Use shadowed menu text" ), this );
shadow-> setChecked ( m_shadow );
vbox-> addWidget ( shadow );
vbox-> addSpacing ( 4 );
QCheckBox *flattb = new QCheckBox ( tr( "Make toolbar buttons appear flat" ), this );
flattb-> setChecked ( m_flat );
vbox-> addWidget ( flattb );
vbox-> addSpacing ( 4 );
QHBoxLayout *hbox = new QHBoxLayout ( vbox );
hbox-> addWidget ( new QLabel ( tr( "Stipple contrast" ), this ));
m_contsld = new QSlider ( Horizontal, this );
m_contsld-> setRange ( 0, 10 );
+ m_contsld-> setSteps ( 1, 1 );
m_contsld-> setValue ( contrast );
m_contsld-> setTickmarks ( QSlider::Below );
hbox-> addWidget ( m_contsld, 10 );
vbox-> addStretch ( 10 );
changeType ( m_type );
connect ( cb, SIGNAL( highlighted ( int ) ), this, SLOT( changeType ( int ) ) );
connect ( shadow, SIGNAL( toggled ( bool ) ), this, SLOT( changeShadow ( bool ) ) );
connect ( flattb, SIGNAL( toggled ( bool ) ), this, SLOT( changeFlat ( bool ) ) );
}