Commit 6eb7b11d authored by Felix Paul Kühne's avatar Felix Paul Kühne

* compilation fix

parent 765427d0
...@@ -47,7 +47,6 @@ ...@@ -47,7 +47,6 @@
#include "embeddedwindow.h" #include "embeddedwindow.h"
#include "update.h" #include "update.h"
#include "AppleRemote.h" #include "AppleRemote.h"
#import <vlc_interaction.h>
/***************************************************************************** /*****************************************************************************
* Local prototypes. * Local prototypes.
......
...@@ -169,20 +169,13 @@ class CmdInteraction: public CmdGeneric ...@@ -169,20 +169,13 @@ class CmdInteraction: public CmdGeneric
/// This method does the real job of the command /// This method does the real job of the command
virtual void execute() virtual void execute()
{ {
if( m_pDialog->i_type == INTERACT_PROGRESS ) /// Get the dialogs provider
{ Dialogs *pDialogs = Dialogs::instance( getIntf() );
/// \todo Handle progress in the interface if( pDialogs == NULL )
}
else
{ {
/// Get the dialogs provider return;
Dialogs *pDialogs = Dialogs::instance( getIntf() );
if( pDialogs == NULL )
{
return;
}
pDialogs->showInteraction( m_pDialog );
} }
pDialogs->showInteraction( m_pDialog );
} }
virtual string getType() const { return "interaction"; } virtual string getType() const { return "interaction"; }
......
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