/* StatusBar Creation */
createStatusBar();
- /* Recents menu updates */
- CONNECT( RecentsMRL::getInstance( p_intf ), updated(),
- this, updateRecentsMenu() );
-
/********************
* Input Manager *
********************/
return VLC_SUCCESS;
}
-/*****************************************************************************
- * updateRecentsMenu: event called by RecentsMRL
- *****************************************************************************/
-
-void MainInterface::updateRecentsMenu()
-{
- QVLCMenu::updateRecents( p_intf );
-}
void handleSystrayClick( QSystemTrayIcon::ActivationReason );
void updateSystrayTooltipName( QString );
void updateSystrayTooltipStatus( int );
- void updateRecentsMenu();
signals:
void askReleaseVideo( );
void askVideoToResize( unsigned int, unsigned int );
#include "recents.hpp"
#include "dialogs_provider.hpp"
+#include "menus.hpp"
#include <QList>
#include <QString>
if( stack->size() > RECENTS_LIST_SIZE )
stack->takeLast();
}
- emit updated();
+ QVLCMenu::updateRecents( p_intf );
save();
}
if ( stack->isEmpty() )
return;
stack->clear();
- emit updated();
+ QVLCMenu::updateRecents( p_intf );
save();
}