Qt/RenderWidget: Show proper icon and title

This commit is contained in:
spycrab 2018-05-04 14:04:46 +02:00
parent a5e410b7c9
commit 452cc6b69f
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
#include <QApplication> #include <QApplication>
#include <QDesktopWidget> #include <QDesktopWidget>
#include <QGuiApplication> #include <QGuiApplication>
#include <QIcon>
#include <QKeyEvent> #include <QKeyEvent>
#include <QMouseEvent> #include <QMouseEvent>
#include <QPalette> #include <QPalette>
@ -18,10 +19,14 @@
#include "DolphinQt2/Host.h" #include "DolphinQt2/Host.h"
#include "DolphinQt2/RenderWidget.h" #include "DolphinQt2/RenderWidget.h"
#include "DolphinQt2/Resources.h"
#include "DolphinQt2/Settings.h" #include "DolphinQt2/Settings.h"
RenderWidget::RenderWidget(QWidget* parent) : QWidget(parent) RenderWidget::RenderWidget(QWidget* parent) : QWidget(parent)
{ {
setWindowTitle(QStringLiteral("Dolphin"));
setWindowIcon(Resources::GetAppIcon());
QPalette p; QPalette p;
p.setColor(QPalette::Background, Qt::black); p.setColor(QPalette::Background, Qt::black);
setPalette(p); setPalette(p);