Skip to content

Commit

Permalink
add and refresh logos accordingly.
Browse files Browse the repository at this point in the history
  • Loading branch information
jens-maus committed Sep 30, 2024
1 parent a53cec2 commit f5a6f76
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ endif()
project(qutselect)
set(PROJECT_LONGNAME "qutselect")
set(PROJECT_VERSION_MAJOR 3)
set(PROJECT_VERSION_MINOR 8)
set(PROJECT_VERSION_MINOR 9)
set(PROJECT_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR})

# change output directory to top-level 'bin' dir.
Expand Down
4 changes: 4 additions & 0 deletions qutselect.slist
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,7 @@ WWW-Browser ; firefox ; ; APP ; Firefox ; Firefox
===
FWPVM40 ; fwpvm40 ; fwppve.fz-rossendorf.de:443 ; PVE ; Windows ; VDI ; TRUE ; scripts/qutselect_connect_pve.sh
FWP112VM ; fwp112vm ; fwp112 ; PVE ; Windows ; VDI ; TRUE ; scripts/qutselect_connect_pve.sh
===
BigBlueButton ; bbb ; ; APP ; BigBlueButton; Local HZDR Video Conferencing ; FALSE ; scripts/qutselect_connect_app.sh
Zoom ; zoom ; ; APP ; Zoom ; Local Zoom Video Conferencing ; FALSE ; scripts/qutselect_connect_app.sh
Google Chrome ; chrome ; ; APP ; Google Chrome; Local Webbrowser ; FALSE ; scripts/qutselect_connect_app.sh
6 changes: 6 additions & 0 deletions src/CMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,12 @@ void CMainWindow::loadServerList()
serverIcon = QIcon(":/images/macos-logo.png");
else if(osType.contains("firefox", Qt::CaseInsensitive))
serverIcon = QIcon(":/images/firefox-logo.png");
else if(osType.contains("chrome", Qt::CaseInsensitive))
serverIcon = QIcon(":/images/chrome-logo.png");
else if(osType.contains("bbb", Qt::CaseInsensitive) || osType.contains("button", Qt::CaseInsensitive))
serverIcon = QIcon(":/images/bbb-logo.png");
else if(osType.contains("zoom", Qt::CaseInsensitive))
serverIcon = QIcon(":/images/zoom-logo.png");

// add the icon to our items
item->setIcon(0, serverIcon);
Expand Down
Binary file modified src/images/banner-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/bbb-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/chrome-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/firefox-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/linux-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/macos-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/images/windows-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/images/zoom-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/qutselect.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<file>images/windows-logo.png</file>
<file>images/macos-logo.png</file>
<file>images/firefox-logo.png</file>
<file>images/bbb-logo.png</file>
<file>images/zoom-logo.png</file>
<file>images/chrome-logo.png</file>
<file>lang/qutselect_de.qm</file>
<file>lang/qt_de.qm</file>
</qresource>
Expand Down

0 comments on commit f5a6f76

Please sign in to comment.