Skip to content
Browse files

Set status icon as window icon.

OS X displays the window icon as program symbol in the dock, so setting it to
the current state will make the dock reflect the state.
  • Loading branch information...
1 parent 713b4ef commit fd2ee9012a793a187592ad65af71b0ad5a1fc296 @bluebrother committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 main.cpp
View
1 main.cpp
@@ -147,6 +147,7 @@ void StratumsphereTrayIcon::refresh() {
statusText = tr("Could not determine opening status");
}
trayIcon_->setIcon(*icon);
+ qApp->setWindowIcon(*icon);
statusText.append("\n");
statusText.append(tr("Last update: "));

0 comments on commit fd2ee90

Please sign in to comment.
Something went wrong with that request. Please try again.