]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/actions_manager.hpp
Qt4: do not allow spaces in network URLs (fix #3870)
[vlc] / modules / gui / qt4 / actions_manager.hpp
index 97870b3c979c20887b3d07b96ccb13ac5b90bfee..fb05481e0dc62d74c37a19329e17c2006632dfac 100644 (file)
@@ -51,6 +51,9 @@ typedef enum actionType_e
     SKIP_BACK_ACTION,
     SKIP_FW_ACTION,
     QUIT_ACTION,
+    RANDOM_ACTION,
+    LOOP_ACTION,
+    INFO_ACTION,
 } actionType_e;
 
 class ActionsManager : public QObject
@@ -66,11 +69,13 @@ public:
     }
     static void killInstance()
     {
-        if( instance ) delete instance;
+        delete instance;
+        instance = NULL;
     }
-    virtual ~ActionsManager();
 
 private:
+    virtual ~ActionsManager();
+
     static ActionsManager *instance;
     ActionsManager( intf_thread_t  *_p_i, QObject *_parent );
     intf_thread_t       *p_intf;