aboutsummaryrefslogtreecommitdiff
path: root/desktop-editor/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-editor/main.cpp')
-rw-r--r--desktop-editor/main.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/desktop-editor/main.cpp b/desktop-editor/main.cpp
deleted file mode 100644
index 39a96321..00000000
--- a/desktop-editor/main.cpp
+++ /dev/null
@@ -1,20 +0,0 @@
-#include <QApplication>
-#include "dialog.h"
-
-int main(int argc, char *argv[])
-{
- QApplication a(argc, argv);
- Dialog w;
- if (argc==2) {
- w.LoadDesktopFile(QString(argv[1]).simplified());
- } else if (argc==3) {
- w.Initialise(QString(argv[1]).simplified());
- w.LoadDesktopFile(QString(argv[2]).simplified());
- } else {
- w.MissingInputs();
- }
- a.setApplicationName("Desktop Editor");
- w.show();
-
- return a.exec();
-}
bgstack15