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


Ignore:
Timestamp:
Jun 30, 2009, 7:14:52 PM (15 years ago)
Author:
laleppa
Message:

Code tweaks to compile without errors using Qt < 4.5.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/main.cpp

    r31 r33  
    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.