mirror of
https://github.com/86Box/86Box.git
synced 2026-02-28 01:44:22 -07:00
Qt: Replace the remaining use of 86box.png with .ico
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 846 B |
@@ -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);
|
||||
}
|
||||
|
||||
@@ -38,11 +38,6 @@ VMManagerAddMachine::
|
||||
setPage(Page_NameAndLocation, new NameAndLocationPage);
|
||||
setPage(Page_Conclusion, new ConclusionPage);
|
||||
|
||||
// Need to create a better image
|
||||
// QPixmap originalPixmap(":/assets/86box.png");
|
||||
// QPixmap scaledPixmap = originalPixmap.scaled(150, 150, Qt::KeepAspectRatio);
|
||||
QPixmap wizardPixmap(":/assets/86box-wizard.png");
|
||||
|
||||
#ifndef Q_OS_MACOS
|
||||
setWizardStyle(ModernStyle);
|
||||
setPixmap(LogoPixmap, QPixmap(":assets/addvm-logo.png"));
|
||||
|
||||
@@ -83,7 +83,6 @@
|
||||
<file alias="/texture_frag.spv">qt/texture_frag.spv</file>
|
||||
</qresource>
|
||||
<qresource prefix="/assets">
|
||||
<file alias="86box.png">qt/assets/86box.png</file>
|
||||
<file alias="86box-wizard.png">qt/assets/86box-wizard.png</file>
|
||||
<file alias="addvm-logo.png">qt/assets/addvm-logo.png</file>
|
||||
<file alias="addvm-watermark.png">qt/assets/addvm-watermark.png</file>
|
||||
|
||||
Reference in New Issue
Block a user