mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 20:17:01 +02:00
commit
4fccb74855
1 changed files with 6 additions and 0 deletions
|
@ -16,6 +16,7 @@
|
||||||
#include <QWebFrame>
|
#include <QWebFrame>
|
||||||
#include <QWebView>
|
#include <QWebView>
|
||||||
#include <QListWidget>
|
#include <QListWidget>
|
||||||
|
#include <QStyleFactory>
|
||||||
|
|
||||||
#include "Application.h"
|
#include "Application.h"
|
||||||
#include "ui/DataWebPage.h"
|
#include "ui/DataWebPage.h"
|
||||||
|
@ -72,6 +73,11 @@ WebWindowClass::WebWindowClass(const QString& title, const QString& url, int wid
|
||||||
_windowWidget = dialogWidget;
|
_windowWidget = dialogWidget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
auto style = QStyleFactory::create("fusion");
|
||||||
|
if (style) {
|
||||||
|
_webView->setStyle(style);
|
||||||
|
}
|
||||||
|
|
||||||
_webView->setPage(new DataWebPage());
|
_webView->setPage(new DataWebPage());
|
||||||
_webView->setUrl(url);
|
_webView->setUrl(url);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue