Changeset 806 for mcbuilder/trunk/src/BuildLog.cpp
- Timestamp:
- 08/11/08 10:03:58 (5 months ago)
- Files:
-
- 1 modified
-
mcbuilder/trunk/src/BuildLog.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mcbuilder/trunk/src/BuildLog.cpp
r684 r806 38 38 void BuildLog::append(QString msg) 39 39 { 40 if(msg.startsWith("*****************")) 41 fmt.setForeground(Qt::black); 42 else 43 fmt.setForeground(QColor(75, 75, 75)); // gray 44 45 if(!msg.endsWith("\n")) // for some reason, block coloring only seems to happen with new lines...shrug 46 msg.append("\n"); 47 48 logConsole->textCursor().setBlockCharFormat(fmt); 40 49 logConsole->appendPlainText(msg); 50 41 51 // scroll to the bottom 42 52 logConsole->moveCursor(QTextCursor::End);
