Removed not used icon and renamed the application icon properly.

This commit is contained in:
2026-03-06 11:07:05 +01:00
parent 8dbceabb8a
commit 7fa8612313
4 changed files with 3 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

View File

@ -1,7 +1,6 @@
<RCC>
<qresource prefix="/">
<file>software-application.png</file>
<file>feature.png</file>
<file>no-picture-taking.png</file>
</qresource>
</RCC>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -33,12 +33,14 @@ MainWindow::MainWindow(QWidget* parent)
setWindowTitle(QCoreApplication::applicationName() + " [*]");
/// application icon
const QString iconString = "://feature.png";
const QString iconString = "://software-application.png";
#ifdef QT_DEBUG
QPixmap pixmap = QPixmap(iconString);
QTransform transform = QTransform();
transform.rotate(180);
QPixmap rotated = pixmap.transformed(transform);
QIcon appIcon = QIcon(rotated);
qWarning() << "appIcon.availableSizes():" << appIcon.availableSizes();
setWindowIcon(QIcon(rotated));
#else
setWindowIcon(QIcon(iconString));