aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-archiver/main.cpp
blob: ccd85902c9ce1133609ed59b1a56a3f493388ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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