[vlc-commits] qt4: openurl: Cosmetic

Hugo Beauzée-Luyssen git at videolan.org
Sun Nov 1 13:49:55 CET 2015


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sun Nov  1 13:14:25 2015 +0100| [b6300cef4f0163af88d6e7345d614c3c26785b87] | committer: Hugo Beauzée-Luyssen

qt4: openurl: Cosmetic

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6300cef4f0163af88d6e7345d614c3c26785b87
---

 modules/gui/qt4/dialogs/openurl.cpp |    3 +--
 modules/gui/qt4/dialogs/openurl.hpp |    2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/dialogs/openurl.cpp b/modules/gui/qt4/dialogs/openurl.cpp
index f31abab..e0f7c26 100644
--- a/modules/gui/qt4/dialogs/openurl.cpp
+++ b/modules/gui/qt4/dialogs/openurl.cpp
@@ -110,9 +110,8 @@ bool OpenUrlDialog::shouldEnqueue() const
  * showEvent can happen not only on exec() but I think it's cool to
  * actualize the URL on showEvent (eg. change virtual desktop...)
  **/
-void OpenUrlDialog::showEvent( QShowEvent *ev )
+void OpenUrlDialog::showEvent( QShowEvent* )
 {
-    (void) ev;
     bShouldEnqueue = false;
     edit->setFocus( Qt::OtherFocusReason );
     if( !lastUrl.isEmpty() && edit->text().isEmpty() )
diff --git a/modules/gui/qt4/dialogs/openurl.hpp b/modules/gui/qt4/dialogs/openurl.hpp
index 2743f9f..31380e1 100644
--- a/modules/gui/qt4/dialogs/openurl.hpp
+++ b/modules/gui/qt4/dialogs/openurl.hpp
@@ -56,7 +56,7 @@ public:
     virtual void showEvent( QShowEvent *ev ) Q_DECL_OVERRIDE;
 
 public slots:
-    void close() Q_DECL_OVERRIDE { play(); };
+    void close() Q_DECL_OVERRIDE { play(); }
 
 };
 



More information about the vlc-commits mailing list