summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2009-09-03 15:19:03 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2009-09-03 15:26:00 (GMT)
commit09e700f1d2a15ea4a596045496674c4d2521f5f8 (patch)
tree0d010dd17f26ac5539590f4ded7860963b072352 /src/gui/kernel
parenta13737c56e9c23f5edb2fd623a09d08a7d8ce83a (diff)
downloadQt-09e700f1d2a15ea4a596045496674c4d2521f5f8.zip
Qt-09e700f1d2a15ea4a596045496674c4d2521f5f8.tar.gz
Qt-09e700f1d2a15ea4a596045496674c4d2521f5f8.tar.bz2
Removing a few superfluous semicolons.
Reviewed-By: TrustMe
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication.h2
-rw-r--r--src/gui/kernel/qwidget.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qapplication.h b/src/gui/kernel/qapplication.h
index 92cf0f8..f1e3cb0 100644
--- a/src/gui/kernel/qapplication.h
+++ b/src/gui/kernel/qapplication.h
@@ -327,7 +327,7 @@ public:
{ if (replace) changeOverrideCursor(cursor); else setOverrideCursor(cursor); }
# endif
inline static QT3_SUPPORT bool hasGlobalMouseTracking() {return true;}
- inline static QT3_SUPPORT void setGlobalMouseTracking(bool) {};
+ inline static QT3_SUPPORT void setGlobalMouseTracking(bool) {}
inline static QT3_SUPPORT void flushX() { flush(); }
static inline QT3_SUPPORT void setWinStyleHighlightColor(const QColor &c) {
QPalette p(palette());
diff --git a/src/gui/kernel/qwidget.h b/src/gui/kernel/qwidget.h
index f398dbd..284558f 100644
--- a/src/gui/kernel/qwidget.h
+++ b/src/gui/kernel/qwidget.h
@@ -830,7 +830,7 @@ public:
inline QT3_SUPPORT void setFont(const QFont &f, bool) { setFont(f); }
inline QT3_SUPPORT void setPalette(const QPalette &p, bool) { setPalette(p); }
enum BackgroundOrigin { WidgetOrigin, ParentOrigin, WindowOrigin, AncestorOrigin };
- inline QT3_SUPPORT void setBackgroundOrigin(BackgroundOrigin){};
+ inline QT3_SUPPORT void setBackgroundOrigin(BackgroundOrigin) {}
inline QT3_SUPPORT BackgroundOrigin backgroundOrigin() const { return WindowOrigin; }
inline QT3_SUPPORT QPoint backgroundOffset() const { return QPoint(); }
inline QT3_SUPPORT void repaint(bool) { repaint(); }