summaryrefslogtreecommitdiffstats
path: root/kttsd/kttsmgr
diff options
context:
space:
mode:
Diffstat (limited to 'kttsd/kttsmgr')
-rw-r--r--kttsd/kttsmgr/kttsmgr.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/kttsd/kttsmgr/kttsmgr.cpp b/kttsd/kttsmgr/kttsmgr.cpp
index 52bf832..b028358 100644
--- a/kttsd/kttsmgr/kttsmgr.cpp
+++ b/kttsd/kttsmgr/kttsmgr.cpp
@@ -37,7 +37,6 @@
#include <tdepopupmenu.h>
#include <tdeaboutapplication.h>
#include <dcopclient.h>
-#include <tdeversion.h>
// KTTSMgr includes.
#include "kspeech.h"
@@ -79,11 +78,8 @@ int main (int argc, char *argv[])
}
TDEUniqueApplication app;
-
-#if TDE_VERSION >= TDE_MAKE_VERSION (3,3,90)
TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Panel);
aboutdata.setProgramLogo(icon.convertToImage());
-#endif
// The real work of KTTS Manager is done in the KControl Module kcmkttsd.
KCMultiDialog dlg(KCMultiDialog::Plain, i18n("TDE Text-to-Speech Manager"), 0, "kttsmgrdlg", false);
@@ -118,16 +114,12 @@ int main (int argc, char *argv[])
else app.setMainWidget(&dlg);
if (showMainWindowOnStartup)
-#if TDE_VERSION < TDE_MAKE_VERSION (3,3,0)
- dlg.show();
-#else
{
if (embedInSysTray)
tray->setActive();
else
dlg.show();
}
-#endif
int result = app.exec();
delete tray;
return result;