[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeutils/kremotecontrol/kcmremotecontrol
From: Michael Zanetti <michael_zanetti () gmx ! net>
Date: 2010-11-07 16:45:33
Message-ID: 20101107164533.9DA04AC89B () svn ! kde ! org
[Download RAW message or body]
SVN commit 1193949 by mzanetti:
fix spinboxes with negative integer values
M +1 -1 model.cpp
--- trunk/KDE/kdeutils/kremotecontrol/kcmremotecontrol/model.cpp #1193948:1193949
@@ -304,7 +304,7 @@
case QVariant::LongLong: {
QSpinBox *spinBox = new QSpinBox(parent);
spinBox->setMaximum(maxInt/2);
- spinBox->setMinimum(-maxInt/2);
+ spinBox->setMinimum(maxInt/2* -1);
spinBox->setValue(arg.value().toInt());
editor = spinBox;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic