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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkphotoalbum=5D_ThumbnailView=3A_fixed_spelling_erro?=
From:       "Jesper K.Pedersen" <jesper.pedersen () kdab ! com>
Date:       2011-05-31 20:37:24
Message-ID: 20110531203724.59604A60AE () git ! kde ! org
[Download RAW message or body]

Git commit cab69eeaf6f1b309d8e7edd32a5aa5b78542aa1d by Jesper K. Pedersen.
Committed on 31/05/2011 at 22:00.
Pushed by blackie into branch 'master'.

fixed spelling error in method name

M  +2    -2    ThumbnailView/GridResizeInteraction.cpp     
M  +1    -1    ThumbnailView/GridResizeInteraction.h     
M  +1    -1    ThumbnailView/ThumbnailWidget.cpp     

http://commits.kde.org/kphotoalbum/cab69eeaf6f1b309d8e7edd32a5aa5b78542aa1d

diff --git a/ThumbnailView/GridResizeInteraction.cpp b/ThumbnailView/GridResizeInteraction.cpp
index 8376278..323f13e 100644
--- a/ThumbnailView/GridResizeInteraction.cpp
+++ b/ThumbnailView/GridResizeInteraction.cpp
@@ -37,7 +37,7 @@ bool ThumbnailView::GridResizeInteraction::mousePressEvent( QMouseEvent* event )
 {
     _resizing = true;
     _mousePressPos = event->pos();
-    enterGridReziingMode();
+    enterGridResizingMode();
     return true;
 }
 
@@ -91,7 +91,7 @@ void ThumbnailView::GridResizeInteraction::leaveGridResizingMode()
         setCellSize( _origWidth );
 }
 
-void ThumbnailView::GridResizeInteraction::enterGridReziingMode()
+void ThumbnailView::GridResizeInteraction::enterGridResizingMode()
 {
     _origWidth = widget()->cellWidth();
     ImageManager::ThumbnailBuilder::instance()->cancelRequests();
diff --git a/ThumbnailView/GridResizeInteraction.h b/ThumbnailView/GridResizeInteraction.h
index 0865558..576f3be 100644
--- a/ThumbnailView/GridResizeInteraction.h
+++ b/ThumbnailView/GridResizeInteraction.h
@@ -49,7 +49,7 @@ public:
     OVERRIDE bool mouseMoveEvent( QMouseEvent* );
     OVERRIDE bool mouseReleaseEvent( QMouseEvent* );
     OVERRIDE bool isResizingGrid();
-    void enterGridReziingMode();
+    void enterGridResizingMode();
     void leaveGridResizingMode();
 
 private:
diff --git a/ThumbnailView/ThumbnailWidget.cpp b/ThumbnailView/ThumbnailWidget.cpp
index 116bb31..d9d862f 100644
--- a/ThumbnailView/ThumbnailWidget.cpp
+++ b/ThumbnailView/ThumbnailWidget.cpp
@@ -202,7 +202,7 @@ void ThumbnailView::ThumbnailWidget::wheelEvent( QWheelEvent* event )
     if ( event->modifiers() & Qt::ControlModifier ) {
         event->setAccepted(true);
         if ( !_wheelResizing)
-            _gridResizeInteraction.enterGridReziingMode();
+            _gridResizeInteraction.enterGridResizingMode();
 
         _wheelResizing = true;
 


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

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