summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 336eb53..59d3141 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -50,24 +50,6 @@
#include "basket_options.h"
#include "backup.h"
-/* Thanks to JuK for this Application class */
-/*#if KDE_IS_VERSION( 3, 1, 90 )
-typedef KUniqueApplication Application; // KDE 3.2 and later already re-show the main window
-#else
-class Application : public KUniqueApplication
-{
- public:
- Application() : KUniqueApplication(true, true, false) {}
- virtual ~Application() {}
- virtual int newInstance() {
- if (win)
- win->setActive(true);
- return KUniqueApplication::newInstance();
- }
-};
-#endif
-*/
-
int main(int argc, char *argv[])
{
// TDECmdLineArgs::init will modify argv[0] so we remember it:
@@ -76,8 +58,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init(argc, argv, Global::about());
TDECmdLineArgs::addCmdLineOptions(basket_options);
- KUniqueApplication::addCmdLineOptions();
- //KUniqueApplication app;
+ TDEUniqueApplication::addCmdLineOptions();
Application app;
Backup::figureOutBinaryPath(argv0, app);