r17809 by craig - Fix a few warnings in canvasmode.cpp
scribus-commit
scribus-commit at lists.scribus.net
Mon Oct 15 16:23:48 UTC 2012
Author: craig
Date: Mon Oct 15 16:23:46 2012
New Revision: 17809
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17809
Log:
Fix a few warnings in canvasmode.cpp
Modified:
trunk/Scribus/scribus/canvasmode.cpp
trunk/Scribus/scribus/canvasmode.h
Modified: trunk/Scribus/scribus/canvasmode.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17809&path=/trunk/Scribus/scribus/canvasmode.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode.cpp (original)
+++ trunk/Scribus/scribus/canvasmode.cpp Mon Oct 15 16:23:46 2012
@@ -484,7 +484,7 @@
}
else // moving page item
{
- QRectF br(currItem->getVisualBoundingRect());
+// QRectF br(currItem->getVisualBoundingRect());
#ifdef GESTURE_FRAME_PREVIEW
QImage *pixItem(0);
if( m_pixmapCache.contains(currItem) )
@@ -605,7 +605,7 @@
}
else
{
- QRectF br(currItem->getVisualBoundingRect());
+// QRectF br(currItem->getVisualBoundingRect());
#ifdef GESTURE_FRAME_PREVIEW
QImage *pixItem(0);
if( m_pixmapCache.contains(currItem) )
Modified: trunk/Scribus/scribus/canvasmode.h
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17809&path=/trunk/Scribus/scribus/canvasmode.h
==============================================================================
--- trunk/Scribus/scribus/canvasmode.h (original)
+++ trunk/Scribus/scribus/canvasmode.h Mon Oct 15 16:23:46 2012
@@ -143,11 +143,11 @@
protected:
- UndoManager* undoManager;
- ScribusView * const m_view;
+ ScribusView * const m_view;
Canvas * const m_canvas;
ScribusDoc * const m_doc;
PanGesture * m_panGesture;
+ UndoManager* undoManager;
double xSnap,ySnap;
void setResizeCursor(int how, double rot = 0.0);
More information about the scribus-commit
mailing list