Skip to content

Commit d5d9cd4

Browse files
committed
feat: update icons
This patch unifies the icons set from 3 different icons to one. The new icon is more colorful that the old gray one which makes it more recognizable if you have a dark theme. The new icons were created by NunoPinheiroKDAB and me. fixes: #472
1 parent ed98313 commit d5d9cd4

12 files changed

+4
-7
lines changed

scripts/appimage/build_appimage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ linuxdeploy --appdir appdir --plugin qt \
7777
-l /usr/lib/librustc_demangle.so \
7878
-l /usr/lib/libd_demangle.so \
7979
-l /usr/lib64/libwayland-egl.so \
80-
-i "$srcdir/src/images/icons/512-hotspot_app_icon.png" --icon-filename=hotspot \
80+
-i "$srcdir/src/images/icons/128-apps-hotspot.png" --icon-filename=hotspot \
8181
-d "./appdir/usr/share/applications/com.kdab.hotspot.desktop" \
8282
--output appimage
8383

src/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ if(KGraphViewerPart_FOUND)
8484
set(HOTSPOT_SRCS ${HOTSPOT_SRCS} callgraphwidget.cpp callgraphgenerator.cpp)
8585
endif()
8686

87-
ecm_add_app_icon(
88-
HOTSPOT_SRCS ICONS ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/128-hotspot_app_icon.png
89-
${CMAKE_CURRENT_SOURCE_DIR}/images/icons/512-hotspot_app_icon.png
90-
)
87+
ecm_add_app_icon(HOTSPOT_SRCS ICONS ${CMAKE_CURRENT_SOURCE_DIR}/images/icons/128-apps-hotspot.png)
9188

9289
if(QCustomPlot_FOUND)
9390
set(HOTSPOT_SRCS ${HOTSPOT_SRCS} frequencypage.cpp)

src/images/icons/128-apps-hotspot.png

3.52 KB
Loading
-5.67 KB
Binary file not shown.

src/images/icons/16-apps-hotspot.png

4.07 KB
Loading

src/images/icons/22-apps-hotspot.png

4.3 KB
Loading

src/images/icons/32-apps-hotspot.png

6.95 KB
Loading

src/images/icons/48-apps-hotspot.png

641 Bytes
Loading
-30.9 KB
Binary file not shown.

src/images/icons/64-apps-hotspot.png

1.29 KB
Loading

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ int main(int argc, char** argv)
215215
auto* guiApp = qobject_cast<QApplication*>(app.get());
216216
MainWindow* window = nullptr;
217217
if (guiApp) {
218-
QGuiApplication::setWindowIcon(QIcon(QStringLiteral(":/images/icons/512-hotspot_app_icon.png")));
218+
QGuiApplication::setWindowIcon(QIcon(QStringLiteral(":/images/icons/128-apps-hotspot.png")));
219219
setupDockWidgets();
220220
window = new MainWindow();
221221
}

src/resources.qrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<RCC>
22
<qresource prefix="/">
33
<file>images/hotspot_logo.png</file>
4-
<file>images/icons/512-hotspot_app_icon.png</file>
4+
<file>images/icons/128-apps-hotspot.png</file>
55
<file>images/kdabproducts.png</file>
66
<file>images/kdablogo.png</file>
77
<file>images/qtlogo.png</file>

0 commit comments

Comments
 (0)