Removes extra semicolons in Qt's Q macros
authorLuís Pereira <luis.artur.pereira@gmail.com>
Mon, 23 Jan 2017 13:22:33 +0000 (13:22 +0000)
committerPalo Kisa <palo.kisa@gmail.com>
Wed, 22 Feb 2017 10:32:48 +0000 (11:32 +0100)
They are not needed and produce a warning.

lxqtpowermanager.cpp
lxqtscreensaver.cpp

index 5ffdac8..f4f751e 100644 (file)
@@ -41,7 +41,7 @@ namespace LXQt {
 
 class LXQT_API MessageBox: public QMessageBox
 {
-    Q_DECLARE_TR_FUNCTIONS(LXQt::MessageBox);
+    Q_DECLARE_TR_FUNCTIONS(LXQt::MessageBox)
 
 public:
     explicit MessageBox(QWidget *parent = 0): QMessageBox(parent) {}
index c38e46b..c8a005e 100644 (file)
@@ -124,7 +124,7 @@ static bool GetIntArrayProperty(XID window,
 
 class ScreenSaverPrivate
 {
-    Q_DECLARE_TR_FUNCTIONS(LXQt::ScreenSaver);
+    Q_DECLARE_TR_FUNCTIONS(LXQt::ScreenSaver)
     Q_DECLARE_PUBLIC(ScreenSaver)
     ScreenSaver* const q_ptr;