Subversion Repositories OpenInventory

Rev

Rev 88 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88 Rev 89
Line 1... Line 1...
1
#include <QtGui/QApplication>
1
#include <QtGui/QApplication>
2
#include "mainwindow.h"
2
#include "mainwindow.h"
3
3
4
int main(int argc, char *argv[])
4
int main(int argc, char *argv[])
5
{
5
{
-
 
6
    Q_INIT_RESOURCE(dbviewer);
6
7
7
    QTextCodec *codec = QTextCodec::codecForName("cp1251");
8
    QTextCodec *codec = QTextCodec::codecForName("cp1251");
8
    QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
9
    QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
9
    QTextCodec::setCodecForTr(codec);
10
    QTextCodec::setCodecForTr(codec);
10
    QApplication a(argc, argv);
11
    QApplication a(argc, argv);