diff --git a/src/gui/kernel/qwindow.h b/src/gui/kernel/qwindow.h index 20cc823f2ea..44cbfd04e47 100644 --- a/src/gui/kernel/qwindow.h +++ b/src/gui/kernel/qwindow.h @@ -172,8 +172,10 @@ public: inline QSize size() const { return geometry().size(); } inline QPoint pos() const { return geometry().topLeft(); } +#ifdef QT_DEPRECATED QT_DEPRECATED inline void move(const QPoint &pt) { setPos(pt); } QT_DEPRECATED inline void move(int posx, int posy) { setPos(posx, posy); } +#endif inline void setPos(const QPoint &pt) { setGeometry(QRect(pt, size())); } inline void setPos(int posx, int posy) { setPos(QPoint(posx, posy)); } diff --git a/src/gui/text/qglyphrun.h b/src/gui/text/qglyphrun.h index 22fb5ff3955..826156fe11d 100644 --- a/src/gui/text/qglyphrun.h +++ b/src/gui/text/qglyphrun.h @@ -64,7 +64,7 @@ public: Underline = 0x02, StrikeOut = 0x04, RightToLeft = 0x08, - SplitLigature = 0x10, + SplitLigature = 0x10 }; Q_DECLARE_FLAGS(GlyphRunFlags, GlyphRunFlag)