Mercurial > hg > svgui
diff view/View.cpp @ 465:b77b79413cdb
* fix some warnings, remove debug
author | Chris Cannam |
---|---|
date | Fri, 16 Jan 2009 15:12:23 +0000 |
parents | 0a78c6b6ebc5 |
children | 08e1ccfe289c |
line wrap: on
line diff
--- a/view/View.cpp Thu Jan 15 18:20:40 2009 +0000 +++ b/view/View.cpp Fri Jan 16 15:12:23 2009 +0000 @@ -1577,7 +1577,7 @@ getXForFrame(m_centreFrame); if (dx > -width() && dx < width()) { -#if defined(Q_WS_WIN32) || defined(Q_WS_MAC) +#if defined(Q_WS_WIN32) || defined(Q_WS_MAC) || defined(NO_PIXMAP_COPY_TO_SELF) // Copying a pixmap to itself doesn't work properly on Windows // or Mac (it only works when moving in one direction) static QPixmap *tmpPixmap = 0;