This commit is contained in:
jp9000
2014-01-25 09:16:06 -07:00
2 changed files with 2 additions and 2 deletions

View File

@@ -17,5 +17,5 @@ public:
setAttribute(Qt::WA_NativeWindow);
}
virtual QPaintEngine *paintEngine() const {return nullptr;}
virtual QPaintEngine *paintEngine() const override {return nullptr;}
};

View File

@@ -44,7 +44,7 @@ void QTToGSWindow(QWidget *widget, gs_window &gswindow)
#ifdef _WIN32
gswindow.hwnd = (HWND)widget->winId();
#elif __APPLE__
/* TODO: mac */
gswindow.view = (id)widget->winId();
#else
gswindow.id = widget->winId();
#endif