Changeset bb994a7ff8 in tspsg for src/main.cpp
- Timestamp:
- Oct 14, 2007, 6:23:11 PM (17 years ago)
- Branches:
- 0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
- Children:
- 7177744fc7
- Parents:
- 7672bc895b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main.cpp
r7672bc895b rbb994a7ff8 1 1 /* 2 * 3 * 2 * TSPSG - TSP Solver and Generator 3 * Copyright (C) 2007 Lёppa <lacontacts[at]gmail[dot]com> 4 4 * 5 * 6 * 5 * $Id$ 6 * $URL$ 7 7 * 8 * 8 * This file is part of TSPSG. 9 9 * 10 * 11 * 12 * 13 * 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. 14 14 * 15 * 16 * 17 * 18 * 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. 19 19 * 20 * 21 * 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/>. 22 22 */ 23 23 … … 29 29 { 30 30 QApplication app(argc, argv); 31 // l18n 31 /*/ i18n 32 // TODO: Make English as program's "native" language 32 33 QLocale *qlocale = &QLocale::system(); 33 34 QTranslator translator; … … 38 39 // application's "native" we're trying to load English 39 40 else if (qlocale->languageToString(qlocale->language()).compare("Russian") && translator.load("English","i18n")) 40 app.installTranslator(&translator); //*/41 41 app.installTranslator(&translator); 42 //*/ 42 43 MainWindow mainwindow; 43 44 mainwindow.show();
Note: See TracChangeset
for help on using the changeset viewer.