Skip to content

Commit

Permalink
don't store Status: Enabled/Disabled messages in info
Browse files Browse the repository at this point in the history
minor cleanup
  • Loading branch information
Chemrat committed Mar 3, 2017
1 parent 450a78a commit 48ed8c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

#include <QtWidgets/QApplication>

#include <signal.h>
#include <csignal>

SystemTray* globalTray;
SystemTray *globalTray = nullptr;

void handleSignal(int signum)
{
Expand Down
2 changes: 1 addition & 1 deletion systemtray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ void SystemTray::onRedshiftOutput()
_colorTemp = line;
else if (line.startsWith("Period:"))
_period = line;
else
else if (!line.startsWith("Status:"))
_info += "\n" + line;
}
}
Expand Down

0 comments on commit 48ed8c8

Please sign in to comment.