Commit 6fb1f222 authored by Jan Möbius's avatar Jan Möbius

Added dummy log type to silence cppcheck

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@19069 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7b028e69
......@@ -91,7 +91,8 @@ The following code sends a log message
*
* Use this enum to specify the importance of log messages.
*/
enum Logtype { LOGOUT , /*!< Standard log messages. Will be printed in black in the logwidget */
enum Logtype { LOGNONE , /*!< Dummy messages. These messages will not appear in the logwidget and are for testing only */
LOGOUT , /*!< Standard log messages. Will be printed in black in the logwidget */
LOGINFO , /*!< Info log messages. Will be printed in green in the logwidget */
LOGWARN , /*!< Warning messages. Will be printed in yellow in the logwidget */
LOGERR /*!< Error messages. Will be printed in red in the logwidget */
......
......@@ -90,6 +90,9 @@ slotLog(Logtype _type, QString _message) {
case LOGERR:
textColor = QColor(250,0,0);
break;
case LOGNONE:
textColor = QColor(0,0,250);
break;
}
logWidget_->append(_message, _type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment