Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as C++ by waker ( 17 years ago )
--- govno.cpp 2009-12-01 17:19:17.000000000 +0100
+++ govno2.cpp 2009-12-01 17:19:15.000000000 +0100
@@ -1,13 +1,12 @@
MainThread::MainThread()
{
- app = new QApplication(0, 0);
- app->moveToThread(this);
- w = new MainWindow(deadbeef);
- w->moveToThread(this);
}
void MainThread::run()
{
+ app = new QApplication(0, 0);
+ w = new MainWindow(deadbeef);
w->show();
app->exec();
}
Revise this Paste