Skip to content

Commit

Permalink
FIX
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartmnt committed Jan 2, 2025
1 parent 45248f4 commit fc2d5ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mumble/widgets/TrayIcon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ TrayIcon::TrayIcon() : QSystemTrayIcon(Global::get().mw), m_statusIcon(Global::g
}

void TrayIcon::on_icon_update() {
std::reference_wrapper< QIcon > newIcon = Global::get().mw->qiIcon;
QIcon &newIcon = Global::get().mw->qiIcon;

const ClientUser *p = ClientUser::get(Global::get().uiSession);

Expand Down Expand Up @@ -94,7 +94,7 @@ void TrayIcon::on_icon_update() {
}
}

if (&newIcon.get() != &m_statusIcon.get()) {
if (&newIcon != &m_statusIcon.get()) {
m_statusIcon = newIcon;
applyIcon(m_statusIcon);
}
Expand Down

0 comments on commit fc2d5ab

Please sign in to comment.