Skip to content

Commit

Permalink
dont show [WRN]
Browse files Browse the repository at this point in the history
  • Loading branch information
moonshadow565 committed Aug 24, 2022
1 parent 4feafc0 commit b89a075
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/CSLOLToolsImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ void CSLOLToolsImpl::setState(CSLOLState value) {
void CSLOLToolsImpl::setStatus(QString status) {
if (status_ != status) {
logFile_->write((status.toUtf8() + "\n"));
status_ = status;
emit statusChanged(status);
if (!status.startsWith("[WRN] ")) {
status_ = status;
emit statusChanged(status);
}
}
}

Expand Down

0 comments on commit b89a075

Please sign in to comment.