summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@nokia.com>2009-09-08 15:58:17 (GMT)
committerAlessandro Portale <alessandro.portale@nokia.com>2009-09-09 14:33:46 (GMT)
commit6715f2f29ae413b328243d8c3dbe15cfba51d33f (patch)
treebb6a99cad38b86e91658969fec1b3bf044e8f1f7 /src/gui/widgets
parent417e05fe128f0fd1bf5d309e3667b057a094bda3 (diff)
downloadQt-6715f2f29ae413b328243d8c3dbe15cfba51d33f.zip
Qt-6715f2f29ae413b328243d8c3dbe15cfba51d33f.tar.gz
Qt-6715f2f29ae413b328243d8c3dbe15cfba51d33f.tar.bz2
Removed some superfluous semicolons
Reviewed-by: TrustMe
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/qslider.h4
-rw-r--r--src/gui/widgets/qvalidator.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/qslider.h b/src/gui/widgets/qslider.h
index 289c5b7..7b27582 100644
--- a/src/gui/widgets/qslider.h
+++ b/src/gui/widgets/qslider.h
@@ -114,8 +114,8 @@ public:
inline QT3_SUPPORT void setTickmarks(TickPosition position) { setTickPosition(position); }
inline QT3_SUPPORT TickPosition tickmarks() const { return tickPosition(); }
public Q_SLOTS:
- inline QT_MOC_COMPAT void addStep() { triggerAction(SliderSingleStepAdd); };
- inline QT_MOC_COMPAT void subtractStep() { triggerAction(SliderSingleStepSub); };
+ inline QT_MOC_COMPAT void addStep() { triggerAction(SliderSingleStepAdd); }
+ inline QT_MOC_COMPAT void subtractStep() { triggerAction(SliderSingleStepSub); }
#endif
private:
diff --git a/src/gui/widgets/qvalidator.cpp b/src/gui/widgets/qvalidator.cpp
index 416c0cd..405bf04 100644
--- a/src/gui/widgets/qvalidator.cpp
+++ b/src/gui/widgets/qvalidator.cpp
@@ -636,7 +636,7 @@ QValidator::State QDoubleValidator::validate(QString & input, int &) const
case ScientificNotation:
numMode = QLocalePrivate::DoubleScientificMode;
break;
- };
+ }
QByteArray buff;
if (!locale().d()->validateChars(input, numMode, &buff, dec)) {