mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 584783 - Re-insert runtime switch between MWindow and QGraphicsView. r=doug.turner. qt-only
This commit is contained in:
parent
5a7f604b5a
commit
76ee88c5a6
@ -2082,7 +2082,9 @@ nsWindow::createQWidget(MozQWidget *parent, nsWidgetInitData *aInitData)
|
||||
if (mIsTopLevel) {
|
||||
QGraphicsView* newView = nsnull;
|
||||
#ifdef MOZ_ENABLE_MEEGOTOUCH
|
||||
newView = new MozMGraphicsView(widget);
|
||||
if (XRE_GetProcessType() == GeckoProcessType_Default) {
|
||||
newView = new MozMGraphicsView(widget);
|
||||
} else
|
||||
#else
|
||||
newView = new MozQGraphicsView(widget);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user