[vlc-devel] commit: Fix the "No such slot PLModel::popupExplore()" on win32... ( Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Aug 21 23:52:31 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 21 14:54:56 2008 -0700| [8501f0553a1841ec1148666cb375a6b7a6e8a01f] | committer: Jean-Baptiste Kempf 

Fix the "No such slot PLModel::popupExplore()" on win32...

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

 .../gui/qt4/components/playlist/playlist_model.cpp |    6 +++---
 .../gui/qt4/components/playlist/playlist_model.hpp |    3 ---
 2 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/modules/gui/qt4/components/playlist/playlist_model.cpp b/modules/gui/qt4/components/playlist/playlist_model.cpp
index e802ecf..61f16f5 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.cpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.cpp
@@ -898,13 +898,13 @@ void PLModel::popupSave()
      msg_Err( p_playlist, "Save not implemented" );
 }
 
-#ifdef WIN32
-#include <shellapi.h>
 void PLModel::popupExplore()
 {
+#ifdef WIN32
+#include <shellapi.h>
     ShellExecute( NULL, "explore", "C:\\", NULL, NULL, SW_SHOWNORMAL );
-}
 #endif
+}
 
 /**********************************************************************
  * Playlist callbacks
diff --git a/modules/gui/qt4/components/playlist/playlist_model.hpp b/modules/gui/qt4/components/playlist/playlist_model.hpp
index 0341023..19fc446 100644
--- a/modules/gui/qt4/components/playlist/playlist_model.hpp
+++ b/modules/gui/qt4/components/playlist/playlist_model.hpp
@@ -171,10 +171,7 @@ private slots:
     void popupInfo();
     void popupStream();
     void popupSave();
-#ifdef WIN32
     void popupExplore();
-#endif
-
     void viewchanged( int );
 };
 




More information about the vlc-devel mailing list