tomb

the crypto undertaker
git clone git://parazyd.org/tomb.git
Log | Files | Refs | README | LICENSE

main.cpp (1165B)


      1 /*  Tomb - encrypted storage undertaker
      2  *
      3  *  (c) Copyright 2015 Gianluca Montecchi <gian@grys.it>
      4  *
      5  * This source code is free software; you can redistribute it and/or
      6  * modify it under the terms of the GNU Public License as published
      7  * by the Free Software Foundation; either version 3 of the License,
      8  * or (at your option) any later version.
      9  *
     10  * This source code is distributed in the hope that it will be useful,
     11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     13  * Please refer to the GNU Public License for more details.
     14  *
     15  * You should have received a copy of the GNU Public License along with
     16  * this source code; if not, write to:
     17  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
     18  */
     19 
     20 #include <QApplication>
     21 #include <QTranslator>
     22 #include <QLocale>
     23 
     24 #include "tomb.h"
     25 
     26 
     27 int main(int argc, char *argv[])
     28 {
     29     QApplication a(argc, argv);
     30     QTranslator translator(0);
     31 
     32 
     33     translator.load( QString("./i18n/tomb-qt-tray_") + QLocale::system().name() );
     34 
     35     a.installTranslator( &translator );
     36     //w.show();
     37     Tomb w;
     38 
     39 
     40     return a.exec();
     41 }