Skip to content
This repository has been archived by the owner on Aug 26, 2020. It is now read-only.

Commit

Permalink
YALF: Yet another logname fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
3vi1 committed Mar 25, 2018
1 parent f3111f8 commit 8ea6c01
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ QList<MessageInfo> Parser::fileChanged(const QString& path, int maxEntries, bool

QFileInfo fileInfo(file);

QString baseName = fileInfo.fileName();
QString channel = baseName.left(baseName.length()-20);
QString channel = logChannelName(fileInfo.fileName());
fileMap.insert(path, LogInfo{channel, fileInfo, "", "", 0}); //logInfo);

lines = input.readAll().split("\n");
Expand Down

0 comments on commit 8ea6c01

Please sign in to comment.