mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
smplayer include changes fixed
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@367 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fda0111d9b
commit
71e78fa852
@ -33,10 +33,7 @@
|
||||
#include "HelpDialog.h"
|
||||
|
||||
#include "games/qbackgammon/bgwindow.h"
|
||||
#include "toplevel.h"
|
||||
#include "defaultgui.h"
|
||||
#include "global.h"
|
||||
#include "translator.h"
|
||||
#include "smplayer.h"
|
||||
|
||||
#include "Preferences/PreferencesWindow.h"
|
||||
#include "Settings/gsettingswin.h"
|
||||
@ -588,17 +585,17 @@ void MainWindow::startqcheckers()
|
||||
}
|
||||
|
||||
|
||||
/** Shows smplayer */
|
||||
void MainWindow::showsmplayer()
|
||||
{
|
||||
static DefaultGui* smplayer = 0;
|
||||
|
||||
if (!smplayer) {
|
||||
global_init( "smplayer" );
|
||||
translator->load( pref->language );
|
||||
|
||||
smplayer = new DefaultGui(this);
|
||||
}
|
||||
|
||||
smplayer->show();
|
||||
/** Shows smplayer */
|
||||
void MainWindow::showsmplayer()
|
||||
{
|
||||
static SMPlayer * smplayer = 0;
|
||||
|
||||
if (smplayer == 0) {
|
||||
smplayer = new SMPlayer(QString::null, this);
|
||||
}
|
||||
|
||||
smplayer->gui()->show();
|
||||
// Or
|
||||
// smplayer->start();
|
||||
//smplayer->show();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user