mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
removed thread
This commit is contained in:
parent
8680bce5fc
commit
16cc20a603
10 changed files with 25 additions and 95 deletions
|
|
@ -38,13 +38,15 @@ void myMessageOutput(QtMsgType type, const char *msg)
|
|||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
// qInstallMsgHandler(myMessageOutput);
|
||||
qInstallMsgHandler(myMessageOutput);
|
||||
QApplication app(argc, argv);
|
||||
app.addLibraryPath("plugins");
|
||||
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
|
||||
|
||||
MainWindow *ui = new MainWindow;
|
||||
qDebug("main(): MainWindow constructor finished");
|
||||
ui->show();
|
||||
qDebug("main(): ui->show() finished");
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue