|
|
@ -74,12 +74,12 @@ void InstWizard::internalWizard()
|
|
|
|
info << "<font color=\"DarkRed\">" << i18n("Part not found. Please check your installation!") << "</font>";
|
|
|
|
info << "<font color=\"DarkRed\">" << i18n("Part not found. Please check your installation!") << "</font>";
|
|
|
|
|
|
|
|
|
|
|
|
//KAFFEINE-PART
|
|
|
|
//KAFFEINE-PART
|
|
|
|
info << "<br><hr><b>" << "KDE" << "...</b><br>";
|
|
|
|
info << "<br><hr><b>" << "TDE" << "...</b><br>";
|
|
|
|
info << i18n("Found version") << ": " << KDE::versionString() << "<br>";
|
|
|
|
info << i18n("Found version") << ": " << KDE::versionString() << "<br>";
|
|
|
|
if (KDE::version() >= TDE_MAKE_VERSION(3,2,0))
|
|
|
|
if (KDE::version() >= TDE_MAKE_VERSION(3,2,0))
|
|
|
|
info << "<font color=\"DarkGreen\">" << i18n("Ok.") << "</font>";
|
|
|
|
info << "<font color=\"DarkGreen\">" << i18n("Ok.") << "</font>";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
info << "<font color=\"DarkRed\">" << i18n("Kaffeine requires KDE >= %1.").arg("3.2") << "</font>";
|
|
|
|
info << "<font color=\"DarkRed\">" << i18n("Kaffeine requires TDE >= %1.").arg("3.2") << "</font>";
|
|
|
|
|
|
|
|
|
|
|
|
//XINE-LIB
|
|
|
|
//XINE-LIB
|
|
|
|
//Should engine depending stuff be here?
|
|
|
|
//Should engine depending stuff be here?
|
|
|
@ -230,7 +230,7 @@ void InstWizard::internalWizard()
|
|
|
|
|
|
|
|
|
|
|
|
TQStringList dirs = KGlobal::dirs()->findDirs("data", "kaffeine");
|
|
|
|
TQStringList dirs = KGlobal::dirs()->findDirs("data", "kaffeine");
|
|
|
|
TQString homePath = KGlobal::dirs()->localtdedir();
|
|
|
|
TQString homePath = KGlobal::dirs()->localtdedir();
|
|
|
|
kdDebug() << "WizardDialog: KDE homedir: " << homePath << endl;
|
|
|
|
kdDebug() << "WizardDialog: TDE homedir: " << homePath << endl;
|
|
|
|
TQString dataPath;
|
|
|
|
TQString dataPath;
|
|
|
|
if (dirs[0].left(homePath.length()) != homePath) /* global data path */
|
|
|
|
if (dirs[0].left(homePath.length()) != homePath) /* global data path */
|
|
|
|
dataPath = dirs[0];
|
|
|
|
dataPath = dirs[0];
|
|
|
|