[vlmc-devel] Remove useless semicolons

Yikai Lu git at videolan.org
Mon Aug 1 11:40:42 CEST 2016


vlmc | branch: master | Yikai Lu <luyikei.qmltu at gmail.com> | Sat Jul 30 15:07:04 2016 +0900| [8939095b1790686574fa59eb18db2d662c187cc5] | committer: Yikai Lu

Remove useless semicolons

> https://code.videolan.org/videolan/vlmc/commit/8939095b1790686574fa59eb18db2d662c187cc5
---

 src/EffectsEngine/EffectHelper.cpp    | 2 +-
 src/Gui/LanguageHelper.h              | 2 +-
 src/Gui/WorkflowFileRendererDialog.h  | 2 +-
 src/Gui/library/MediaLibrary.h        | 2 +-
 src/Gui/media/ClipMetadataDisplayer.h | 2 +-
 src/Library/Library.h                 | 2 +-
 src/Project/Project.h                 | 2 +-
 src/Workflow/Helper.h                 | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/EffectsEngine/EffectHelper.cpp b/src/EffectsEngine/EffectHelper.cpp
index 13cd15c..e2d9a09 100644
--- a/src/EffectsEngine/EffectHelper.cpp
+++ b/src/EffectsEngine/EffectHelper.cpp
@@ -42,7 +42,7 @@ conv( std::string str, SettingValue::Type type )
       return QVariant( std::stoi( str ) );
     else
       return QVariant( QString::fromStdString( str ) );
-};
+}
 
 EffectHelper::EffectHelper( const char* id, qint64 begin, qint64 end,
                             const QString &uuid ) :
diff --git a/src/Gui/LanguageHelper.h b/src/Gui/LanguageHelper.h
index c646282..ec5d92b 100644
--- a/src/Gui/LanguageHelper.h
+++ b/src/Gui/LanguageHelper.h
@@ -32,7 +32,7 @@ class   QTranslator;
 class   LanguageHelper : public QObject, public Singleton<LanguageHelper>
 {
     Q_OBJECT
-    Q_DISABLE_COPY( LanguageHelper );
+    Q_DISABLE_COPY( LanguageHelper )
 
 public slots:
     void        languageChanged( const QVariant &lang );
diff --git a/src/Gui/WorkflowFileRendererDialog.h b/src/Gui/WorkflowFileRendererDialog.h
index 883af04..4d6a226 100644
--- a/src/Gui/WorkflowFileRendererDialog.h
+++ b/src/Gui/WorkflowFileRendererDialog.h
@@ -31,7 +31,7 @@ class   RendererEventWatcher;
 class   WorkflowFileRendererDialog : public QDialog
 {
     Q_OBJECT
-    Q_DISABLE_COPY( WorkflowFileRendererDialog );
+    Q_DISABLE_COPY( WorkflowFileRendererDialog )
 public:
     WorkflowFileRendererDialog( quint32 width, quint32 height, qint64 totalFrames, RendererEventWatcher* eventWatcher );
     void    setOutputFileName( const QString& filename );
diff --git a/src/Gui/library/MediaLibrary.h b/src/Gui/library/MediaLibrary.h
index 6bb8313..16db0ab 100644
--- a/src/Gui/library/MediaLibrary.h
+++ b/src/Gui/library/MediaLibrary.h
@@ -34,7 +34,7 @@ class   ViewController;
 class MediaLibrary : public QWidget
 {
     Q_OBJECT
-    Q_DISABLE_COPY( MediaLibrary );
+    Q_DISABLE_COPY( MediaLibrary )
 
     public:
         typedef bool    (*Filter)( const Clip*, const QString& filter );
diff --git a/src/Gui/media/ClipMetadataDisplayer.h b/src/Gui/media/ClipMetadataDisplayer.h
index 9ed8e3b..7bea2ab 100644
--- a/src/Gui/media/ClipMetadataDisplayer.h
+++ b/src/Gui/media/ClipMetadataDisplayer.h
@@ -33,7 +33,7 @@ class   Media;
 class ClipMetadataDisplayer : public QWidget
 {
     Q_OBJECT
-    Q_DISABLE_COPY(ClipMetadataDisplayer);
+    Q_DISABLE_COPY(ClipMetadataDisplayer)
 
     public:
         explicit ClipMetadataDisplayer( QWidget *parent = 0 );
diff --git a/src/Library/Library.h b/src/Library/Library.h
index 9bd3a91..78ef4be 100644
--- a/src/Library/Library.h
+++ b/src/Library/Library.h
@@ -46,7 +46,7 @@ class Settings;
 class Library : public MediaContainer
 {
     Q_OBJECT
-    Q_DISABLE_COPY( Library );
+    Q_DISABLE_COPY( Library )
 
 public:
     Library( Settings* projectSettings );
diff --git a/src/Project/Project.h b/src/Project/Project.h
index f1b514e..09d9797 100644
--- a/src/Project/Project.h
+++ b/src/Project/Project.h
@@ -45,7 +45,7 @@ class Project : public QObject
         static const QString            backupSuffix;
 
     public:
-        Q_DISABLE_COPY( Project );
+        Q_DISABLE_COPY( Project )
         Project( Settings* settings );
 
         virtual ~Project();
diff --git a/src/Workflow/Helper.h b/src/Workflow/Helper.h
index 8f390d2..770b957 100644
--- a/src/Workflow/Helper.h
+++ b/src/Workflow/Helper.h
@@ -55,6 +55,6 @@ namespace   Workflow
     };
 }
 
-Q_DECLARE_METATYPE( Workflow::Helper* );
+Q_DECLARE_METATYPE( Workflow::Helper* )
 
 #endif // IHELPER_H



More information about the Vlmc-devel mailing list