Commit 8501f055 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

parent f909b91d
...@@ -898,13 +898,13 @@ void PLModel::popupSave() ...@@ -898,13 +898,13 @@ void PLModel::popupSave()
msg_Err( p_playlist, "Save not implemented" ); msg_Err( p_playlist, "Save not implemented" );
} }
#ifdef WIN32
#include <shellapi.h>
void PLModel::popupExplore() void PLModel::popupExplore()
{ {
#ifdef WIN32
#include <shellapi.h>
ShellExecute( NULL, "explore", "C:\\", NULL, NULL, SW_SHOWNORMAL ); ShellExecute( NULL, "explore", "C:\\", NULL, NULL, SW_SHOWNORMAL );
}
#endif #endif
}
/********************************************************************** /**********************************************************************
* Playlist callbacks * Playlist callbacks
......
...@@ -171,10 +171,7 @@ private slots: ...@@ -171,10 +171,7 @@ private slots:
void popupInfo(); void popupInfo();
void popupStream(); void popupStream();
void popupSave(); void popupSave();
#ifdef WIN32
void popupExplore(); void popupExplore();
#endif
void viewchanged( int ); void viewchanged( int );
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment