diff options
author | Weblate <noreply@weblate.org> | 2016-12-14 21:54:31 +0000 |
---|---|---|
committer | Weblate <noreply@weblate.org> | 2016-12-14 21:54:31 +0000 |
commit | b965af1625a4296f8ff6d3a1663cae23b73d334f (patch) | |
tree | 459685dd1da8c75f67772762aa062d80dfc148f0 /src-qt5/desktop-utils/lumina-archiver/main.cpp | |
parent | Translated using Weblate (lumina_DESKTOP@fr (generated)) (diff) | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-b965af1625a4296f8ff6d3a1663cae23b73d334f.tar.gz lumina-b965af1625a4296f8ff6d3a1663cae23b73d334f.tar.bz2 lumina-b965af1625a4296f8ff6d3a1663cae23b73d334f.zip |
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/desktop-utils/lumina-archiver/main.cpp')
-rw-r--r-- | src-qt5/desktop-utils/lumina-archiver/main.cpp | 29 |
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(); +} |