Changeset bb994a7ff8 in tspsg for src/main.cpp


Ignore:
Timestamp:
Oct 14, 2007, 6:23:11 PM (17 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
7177744fc7
Parents:
7672bc895b
Message:

Some code changes :-)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    r7672bc895b rbb994a7ff8  
    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.