mirror of
https://github.com/86Box/86Box.git
synced 2026-02-28 18:04:21 -07:00
Qt: Replace the remaining use of 86box.png with .ico
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
*/
|
||||
#include "qt_updatedetails.hpp"
|
||||
#include "ui_qt_updatedetails.h"
|
||||
#include "qt_defs.hpp"
|
||||
|
||||
#include <QDesktopServices>
|
||||
#include <QPushButton>
|
||||
@@ -52,7 +53,7 @@ UpdateDetails::
|
||||
connect(ui->buttonBox, &QDialogButtonBox::accepted, [updateResult] {
|
||||
visitDownloadPage(updateResult.channel);
|
||||
});
|
||||
const auto logo = QPixmap(":/assets/86box.png").scaled(QSize(64, 64), Qt::KeepAspectRatio, Qt::SmoothTransformation);
|
||||
const auto logo = QIcon(EMU_ICON_PATH).pixmap(QSize(64, 64));
|
||||
|
||||
ui->icon->setPixmap(logo);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user