Changeset 6 in tspsg-svn for trunk/src/main.cpp


Ignore:
Timestamp:
Oct 14, 2007, 6:23:11 PM (17 years ago)
Author:
laleppa
Message:

Some code changes :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main.cpp

    r4 r6  
    11/*
    2  *      TSPSG - TSP Solver and Generator
    3  *      Copyright (C) 2007 Lёppa <lacontacts[at]gmail[dot]com>
     2 *  TSPSG - TSP Solver and Generator
     3 *  Copyright (C) 2007 Lёppa <lacontacts[at]gmail[dot]com>
    44 *
    5  *      $Id$
    6  *      $URL$
     5 *  $Id$
     6 *  $URL$
    77 *
    8  *      This file is part of TSPSG.
     8 *  This file is part of TSPSG.
    99 *
    10  *      TSPSG is free software: you can redistribute it and/or modify
    11  *      it under the terms of the GNU General Public License as published by
    12  *      the Free Software Foundation, either version 3 of the License, or
    13  *      (at your option) any later version.
     10 *  TSPSG is free software: you can redistribute it and/or modify
     11 *  it under the terms of the GNU General Public License as published by
     12 *  the Free Software Foundation, either version 3 of the License, or
     13 *  (at your option) any later version.
    1414 *
    15  *      TSPSG is distributed in the hope that it will be useful,
    16  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
    17  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    18  *      GNU General Public License for more details.
     15 *  TSPSG is distributed in the hope that it will be useful,
     16 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     17 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     18 *  GNU General Public License for more details.
    1919 *
    20  *      You should have received a copy of the GNU General Public License
    21  *      along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
     20 *  You should have received a copy of the GNU General Public License
     21 *  along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
    2222 */
    2323
     
    2929{
    3030QApplication app(argc, argv);
    31 // l18n
     31/*/ i18n
     32// TODO: Make English as program's "native" language
    3233QLocale *qlocale = &QLocale::system();
    3334QTranslator translator;
     
    3839        // application's "native" we're trying to load English
    3940        else if (qlocale->languageToString(qlocale->language()).compare("Russian") && translator.load("English","i18n"))
    40                 app.installTranslator(&translator);//*/
    41 
     41                app.installTranslator(&translator);
     42//*/
    4243MainWindow mainwindow;
    4344        mainwindow.show();
Note: See TracChangeset for help on using the changeset viewer.