[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/ui/widgets
From: Sven Langkamp <sven.langkamp () gmail ! com>
Date: 2010-03-31 19:46:13
Message-ID: 20100331194613.2FEE7AC888 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1109700 by langkamp:
set unit to pixel when getting the screen size
BUG:228785
M +5 -2 kis_custom_image_widget.cc
--- trunk/koffice/krita/ui/widgets/kis_custom_image_widget.cc #1109699:1109700
@@ -253,10 +253,13 @@
void KisCustomImageWidget::screenSizeClicked()
{
QSize sz = QApplication::desktop()->screenGeometry(this).size();
+ cmbWidthUnit->setCurrentIndex(KoUnit::Pixel);
+ cmbHeightUnit->setCurrentIndex(KoUnit::Pixel);
+ widthUnitChanged(cmbWidthUnit->currentIndex());
+ heightUnitChanged(cmbHeightUnit->currentIndex());
+
doubleWidth->setValue(sz.width());
- doubleWidth->setDecimals(0);
doubleHeight->setValue(sz.height());
- doubleHeight->setDecimals(0);
}
#include "kis_custom_image_widget.moc"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic