Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion meshroom/ui/qml/Controls/TextFileViewer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,10 @@ Item {
// Color line according to log level
if (text.indexOf("[warning]") >= 0)
return Colors.orange
else if(text.indexOf("[error]") >= 0)
else if (text.indexOf("[error]") >= 0)
return Colors.red
else if (text.indexOf("[fatal]") >= 0 || text.indexOf("[critical]") >= 0)
return Colors.firebrick
return palette.text
}
}
Expand Down
2 changes: 2 additions & 0 deletions meshroom/ui/qml/Utils/Colors.qml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ QtObject {
readonly property color orange: "#FF9800"
readonly property color yellow: "#FFEB3B"
readonly property color red: "#F44336"
readonly property color crimson: "#DC143C"
readonly property color firebrick: "#B22222"
readonly property color blue: "#03A9F4"
readonly property color cyan: "#00BCD4"
readonly property color pink: "#E91E63"
Expand Down