Subversion Repositories OpenInventory

Rev

Rev 88 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

#include <QtGui/QApplication>
#include "mainwindow.h"

int main(int argc, char *argv[])
{
    Q_INIT_RESOURCE(dbviewer);

    QTextCodec *codec = QTextCodec::codecForName("cp1251");
    QTextCodec *codecUTF = QTextCodec::codecForName("utf8");
    QTextCodec::setCodecForTr(codec);
    QApplication a(argc, argv);
    MainWindow w;
    w.show();
    return a.exec();
}