|
|
@ -61,19 +61,6 @@ int main(int argc, char *argv[])
|
|
|
|
a.setMainWidget(w);
|
|
|
|
a.setMainWidget(w);
|
|
|
|
w->show();
|
|
|
|
w->show();
|
|
|
|
|
|
|
|
|
|
|
|
bool versionOk;
|
|
|
|
|
|
|
|
if (TQFile::exists("/etc/SuSE-release"))
|
|
|
|
|
|
|
|
versionOk = KDE::version() >= TDE_MAKE_VERSION(3,2,1);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
versionOk = KDE::version() >= TDE_MAKE_VERSION(3,2,2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!versionOk)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
KMessageBox::information(w, i18n("<qt>KIOSK Admin Tool requires KDE 3.2.2 or later!<p>"
|
|
|
|
|
|
|
|
"With older versions you may experience problems with"
|
|
|
|
|
|
|
|
"the <i>Setup</i> functionality of the various components."));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
kapp->exec();
|
|
|
|
kapp->exec();
|
|
|
|
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
return 0;
|
|
|
|