diff options
Diffstat (limited to 'kscd/kscd.cpp')
-rw-r--r-- | kscd/kscd.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kscd/kscd.cpp b/kscd/kscd.cpp index 2dcf4842..8f115ea0 100644 --- a/kscd/kscd.cpp +++ b/kscd/kscd.cpp @@ -1005,7 +1005,7 @@ void KSCD::discChanged(unsigned discId) //totaltimelabel->clear(); totaltimelabel->lower(); - if ((Prefs::autoplay() || KCmdLineArgs::parsedArgs()->isSet("start")) + if ((Prefs::autoplay() || TDECmdLineArgs::parsedArgs()->isSet("start")) && !m_cd->isPlaying()) { playClicked(); @@ -1618,11 +1618,11 @@ int main( int argc, char *argv[] ) aboutData.addCredit("Sven Lueppken", I18N_NOOP("UI Work")); aboutData.addCredit("freedb.org", I18N_NOOP("Special thanks to freedb.org for providing a free CDDB-like CD database"), 0, "http://freedb.org"); - KCmdLineArgs::init( argc, argv, &aboutData ); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init( argc, argv, &aboutData ); + TDECmdLineArgs::addCmdLineOptions(options); KUniqueApplication::addCmdLineOptions(); - KCmdLineArgs* args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs(); if (!KUniqueApplication::start()) { fprintf(stderr, "kscd is already running\n"); |