Commit 8ad11518 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: state machine fixes part 1

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2a455044
This diff is collapsed.
...@@ -118,8 +118,10 @@ private: ...@@ -118,8 +118,10 @@ private:
bool isDocked() { return ( i_pl_dock != PL_UNDOCKED ); } bool isDocked() { return ( i_pl_dock != PL_UNDOCKED ); }
void showTab( int i_tab ); void showTab( int i_tab );
void restoreStackOldWidget();
void showVideo() { showTab( VIDEO_TAB ); } void showVideo() { showTab( VIDEO_TAB ); }
void showBg() { showTab( BACKG_TAB ); } void showBg() { showTab( BACKG_TAB ); }
void hideStackWidget() { showTab( HIDDEN_TAB ); }
QSettings *settings; QSettings *settings;
#ifndef HAVE_MAEMO #ifndef HAVE_MAEMO
...@@ -147,8 +149,8 @@ private: ...@@ -147,8 +149,8 @@ private:
enum { enum {
HIDDEN_TAB = -1, HIDDEN_TAB = -1,
BACKG_TAB = 0, BACKG_TAB = 0,
VIDEO_TAB, VIDEO_TAB = 1,
PLAYL_TAB, PLAYL_TAB = 2,
}; };
int stackCentralOldState; int stackCentralOldState;
...@@ -171,6 +173,7 @@ private: ...@@ -171,6 +173,7 @@ private:
LPTASKBARLIST3 p_taskbl; LPTASKBARLIST3 p_taskbl;
void createTaskBarButtons(); void createTaskBarButtons();
#endif #endif
void createPlaylist( bool );
public slots: public slots:
void undockPlaylist(); void undockPlaylist();
......
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