[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kspread/part
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2010-04-09 4:48:34
Message-ID: 20100409044834.F2CC0AC892 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1112762 by clicea:

Fix the displayed units.
I wonder how was that not noticed before.



 M  +1 -1      Headers.cpp  


--- trunk/koffice/kspread/part/Headers.cpp #1112761:1112762
@@ -1135,7 +1135,7 @@
     m_rubberband->move(m_iResizePos, 0);
 
     QString tmpSize;
-    double ww = (sheet->layoutDirection() == Qt::RightToLeft) ? x - m_iResizePos : \
m_iResizePos - x; +    double ww = \
m_pView->zoomHandler()->unzoomItX((sheet->layoutDirection() == Qt::RightToLeft) ? x - \
m_iResizePos : m_iResizePos - x);  double wu = \
m_pView->doc()->unit().toUserValue(ww);  if (wu > 0.01)
         tmpSize = i18n("Width: %1 %2", wu, \
KoUnit::unitName(m_pView->doc()->unit()));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic