Skip to content

Commit 16261f2

Browse files
author
jef
committed
missed two files in r15435
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15436 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 21c6367 commit 16261f2

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

src/core/qgis.h

-14
Original file line numberDiff line numberDiff line change
@@ -189,18 +189,4 @@ const double DEFAULT_LINE_WIDTH = 0.26;
189189
#endif
190190
#endif
191191

192-
#ifndef QGISDEPRECATED
193-
#ifndef Q_MOC_RUN
194-
#ifdef _MSC_VER
195-
# define QGISDEPRECATED __declspec(deprecated)
196-
#elif __GNUC__
197-
# define QGISDEPRECATED __attribute__((__deprecated__))
198-
#else
199-
# define QGISDEPRECATED
200-
#endif
201-
#else
202-
#define QGISDEPRECATED
203-
#endif
204-
#endif
205-
206192
#endif

src/gui/qgsmapcanvasmap.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class GUI_EXPORT QgsMapCanvasMap : public QGraphicsRectItem
5050
void setPanningOffset( const QPoint& point );
5151

5252
//! @deprecated Please use paintDevice() function which is also save in case QImage is used
53-
QGISDEPRECATED QPixmap& pixmap() { return mPixmap; }
53+
Q_DECL_DEPRECATED QPixmap& pixmap() { return mPixmap; }
5454

5555
QPaintDevice& paintDevice();
5656

0 commit comments

Comments
 (0)