From f436408b06ca5f9dd85e3b1f662709cc6b6a6fb5 Mon Sep 17 00:00:00 2001 From: Matthew Budd Date: Sat, 11 Jul 2020 17:06:22 -0400 Subject: [PATCH] Updated about window to use embedded png. --- src/drivers/Qt/AboutWindow.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/drivers/Qt/AboutWindow.cpp b/src/drivers/Qt/AboutWindow.cpp index ab179fd6..34d6520c 100644 --- a/src/drivers/Qt/AboutWindow.cpp +++ b/src/drivers/Qt/AboutWindow.cpp @@ -8,7 +8,7 @@ #include #include #include -#include "Qt/icon.xpm" +//#include "Qt/icon.xpm" #include "Qt/AboutWindow.h" #include "../../version.h" @@ -18,9 +18,13 @@ AboutWindow::AboutWindow(QWidget *parent) { QVBoxLayout *mainLayout; QHBoxLayout *hbox1; - QPixmap pm( icon_xpm ); + //QPixmap pm( icon_xpm ); + QPixmap pm(":fceux.png"); + QPixmap pm2; QLabel *lbl; + pm2 = pm.scaled( 64, 64 ); + setWindowTitle( tr("About fceuX") ); resize( 512, 512 ); @@ -29,7 +33,7 @@ AboutWindow::AboutWindow(QWidget *parent) hbox1 = new QHBoxLayout(); lbl = new QLabel(); - lbl->setPixmap(pm); + lbl->setPixmap(pm2); hbox1->addWidget( lbl ); hbox1->setAlignment( Qt::AlignCenter );