Changeset 140912822f in tspsg for src/main.cpp


Ignore:
Timestamp:
Jun 30, 2009, 7:14:52 PM (15 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
c02b4903bd
Parents:
2b9257627c
Message:

Code tweaks to compile without errors using Qt < 4.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main.cpp

    r2b9257627c r140912822f  
    2727{
    2828QApplication app(argc, argv);
     29        QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
     30        QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
     31        QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
    2932        app.setOrganizationName("..::Lёppsville::..");
    3033        app.setOrganizationDomain("www.leppsville.com");
    3134        app.setApplicationName("TSPSG");
    32         QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
    3335MainWindow mainwindow;
    3436        mainwindow.show();
Note: See TracChangeset for help on using the changeset viewer.