|
|
|
@ -124,7 +124,7 @@ Kaffeine::Kaffeine() : DCOPObject("KaffeineIface"),
|
|
|
|
|
m_mediaPart(NULL), m_playerContainer(NULL),
|
|
|
|
|
m_systemTray(NULL), m_videoSize(0,0), m_noResize(false), m_autoPaused(false)
|
|
|
|
|
{
|
|
|
|
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
|
|
|
|
|
if (args->getOption("audiodriver") != "default")
|
|
|
|
|
m_engineParameters.append("audioDriver=\"" + args->getOption("audiodriver") + "\"");
|
|
|
|
@ -268,7 +268,7 @@ Kaffeine::~Kaffeine()
|
|
|
|
|
|
|
|
|
|
void Kaffeine::updateArgs()
|
|
|
|
|
{
|
|
|
|
|
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
|
|
|
|
|
|
TQString device = args->getOption("device");
|
|
|
|
|
if (device != "default") {
|
|
|
|
|