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

List:       kde-commits
Subject:    extragear/office/skrooge/skgbasegui
From:       Stephane Mankowski <stephane () mankowski ! fr>
Date:       2010-10-13 18:58:24
Message-ID: 20101013185824.CC928AC895 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1185569 by smankowski:

Krazy2

 M  +1 -1      skgwebview.cpp  
 M  +2 -2      skgwebviewdesignerplugin.h  


--- trunk/extragear/office/skrooge/skgbasegui/skgwebview.cpp #1185568:1185569
@@ -124,7 +124,7 @@
 void SKGWebView::onZoomIn()
 {
     _SKGTRACEIN(10, "SKGWebView::onZoomIn");
-    int z = qMin(round(30.0 * log10(zoomFactor())) + 1, 10.0);
+    int z = qMin(round(30.0 * log10(zoomFactor())) + 1, qreal(10.0));
     setZoomFactor(pow(10, ((qreal) z) / 30.0));
 
     emit zoomChanged(z);
--- trunk/extragear/office/skrooge/skgbasegui/skgwebviewdesignerplugin.h #1185568:1185569
@@ -14,8 +14,8 @@
  *   You should have received a copy of the GNU General Public License     *
  *   along with this program.  If not, see <http://www.gnu.org/licenses/>  *
  ***************************************************************************/
-#ifndef SKGWEBVIEWDITDESIGNERPLUGIN_H
-#define SKGWEBVIEWDITDESIGNERPLUGIN_H
+#ifndef SKGWEBVIEWDESIGNERPLUGIN_H
+#define SKGWEBVIEWDESIGNERPLUGIN_H
 /** @file
  * A web viewer with more features (qt designer plugin).
  *
[prev in list] [next in list] [prev in thread] [next in thread] 

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