aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-archiver/main.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2016-11-12 14:33:38 -0500
committerKen Moore <ken@ixsystems.com>2016-11-12 14:33:38 -0500
commit877625d070f47cddfb8283351f373879deeda98b (patch)
tree1208a276b944f2502f96ac59d0da6dec305d9c14 /src-qt5/desktop-utils/lumina-archiver/main.cpp
parentSpeed up the initial loading of the desktop at start, and delay the auto-star... (diff)
downloadlumina-877625d070f47cddfb8283351f373879deeda98b.tar.gz
lumina-877625d070f47cddfb8283351f373879deeda98b.tar.bz2
lumina-877625d070f47cddfb8283351f373879deeda98b.zip
New Desktop Utility: lumina-archiver
This is a pure Qt5 front-end to the "tar" utility for creating, viewing, and editing archives of various formats. ChangeLog=YES
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver/main.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-archiver/main.cpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/src-qt5/desktop-utils/lumina-archiver/main.cpp b/src-qt5/desktop-utils/lumina-archiver/main.cpp
new file mode 100644
index 00000000..ccd85902
--- /dev/null
+++ b/src-qt5/desktop-utils/lumina-archiver/main.cpp
@@ -0,0 +1,29 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2016, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#include <QApplication>
+#include <QDebug>
+
+#include <LuminaThemes.h>
+#include <LUtils.h>
+
+#include "MainUI.h"
+
+int main(int argc, char *argv[]) {
+ LTHEME::LoadCustomEnvSettings();
+ QApplication a(argc, argv);
+ LUtils::LoadTranslation(&a, "l-archiver");
+ //Now go ahead and setup the app
+ QStringList args;
+ for(int i=1; i<argc; i++){
+ args << LUtils::PathToAbsolute( QString(argv[i]) );
+ }
+ //Now start the window
+ MainUI W;
+ W.LoadArguments(args);
+ W.show();
+ return a.exec();
+}
bgstack15