aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/experimental/lumina-pdf/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/experimental/lumina-pdf/main.cpp')
-rw-r--r--src-qt5/experimental/lumina-pdf/main.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src-qt5/experimental/lumina-pdf/main.cpp b/src-qt5/experimental/lumina-pdf/main.cpp
deleted file mode 100644
index f6bb9839..00000000
--- a/src-qt5/experimental/lumina-pdf/main.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-#include <QTranslator>
-#include <QApplication>
-#include <QDebug>
-#include <QFile>
-
-#include "mainUI.h"
-#include <LUtils.h>
-//#include <LuminaThemes.h>
-
-int main(int argc, char ** argv)
-{
- //LTHEME::LoadCustomEnvSettings();
- QApplication a(argc, argv);
- LUtils::LoadTranslation(&a, "l-pdf");
- //LuminaThemeEngine theme(&a);
-
-
- //Read the input variables
- QString path = "";
- for(int i=1; i<argc; i++){
- path = LUtils::PathToAbsolute( argv[i] );
- if(QFile::exists(path)){ break; } //already found a valid file
- }
-
- MainUI w;
- //QObject::connect(&theme, SIGNAL(updateIcons()), &w, SLOT(UpdateIcons()) );
- if(!path.isEmpty()){ w.loadFile(path); }
- w.show();
- int retCode = a.exec();
- return retCode;
-}
bgstack15