src/MessageLog.cc

changeset 639
851634b85893
parent 633
34d18b9c2cab
child 642
751a8df42842
--- a/src/MessageLog.cc	Wed Mar 05 02:24:05 2014 +0200
+++ b/src/MessageLog.cc	Wed Mar 05 02:33:58 2014 +0200
@@ -27,7 +27,7 @@
 static const int g_fadeTime = 500; // msecs
 
 // =============================================================================
-// -----------------------------------------------------------------------------
+//
 MessageManager::MessageManager (QObject* parent) :
 			QObject (parent)
 {
@@ -37,7 +37,7 @@
 }
 
 // =============================================================================
-// -----------------------------------------------------------------------------
+//
 MessageManager::Line::Line (QString text) :
 			text (text),
 			alpha (1.0f),
@@ -47,7 +47,7 @@
 // Check this line's expiry and update alpha accordingly. Returns true if the
 // line is to still stick around, false if it expired. 'changed' is updated to
 // whether the line has somehow changed since the last update.
-// -----------------------------------------------------------------------------
+//
 bool MessageManager::Line::update (bool& changed)
 {
 	changed = false;
@@ -73,7 +73,7 @@
 
 // =============================================================================
 // Add a line to the message manager.
-// -----------------------------------------------------------------------------
+//
 void MessageManager::addLine (QString line)
 {
 	// If there's too many entries, pop the excess out
@@ -90,7 +90,7 @@
 // =============================================================================
 // Ticks the message manager. All lines are ticked and the renderer scene is
 // redrawn if something changed.
-// -----------------------------------------------------------------------------
+//
 void MessageManager::tick()
 {
 	if (m_lines.isEmpty())
@@ -113,7 +113,7 @@
 }
 
 // =============================================================================
-// -----------------------------------------------------------------------------
+//
 const QList<MessageManager::Line>& MessageManager::getLines() const
 {
 	return m_lines;
@@ -122,7 +122,7 @@
 // =============================================================================
 // log() interface - format the argument list and add the resulting string to
 // the main message manager.
-// -----------------------------------------------------------------------------
+//
 void DoLog (std::initializer_list<StringFormatArg> args)
 {
 	const QString msg = DoFormat (args);

mercurial