Skip to content

Commit

Permalink
Fix showing empty messages from tray icon
Browse files Browse the repository at this point in the history
  • Loading branch information
kraxarn committed Mar 10, 2021
1 parent 90d5cb4 commit aa52ee4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/trayicon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ TrayIcon::~TrayIcon()

void TrayIcon::message(const QString &message)
{
if (message.isNull() || message.isEmpty())
return;

showMessage("spotify-qt", message);
}

Expand Down

0 comments on commit aa52ee4

Please sign in to comment.