src/gldraw.cpp

changeset 324
31c6e53e1e4e
parent 323
4200e1c89e97
child 336
9dd47cc12ab8
--- a/src/gldraw.cpp	Thu Jul 04 03:08:34 2013 +0300
+++ b/src/gldraw.cpp	Thu Jul 04 03:29:51 2013 +0300
@@ -649,13 +649,12 @@
 	// Message log
 	if( msglog() )
 	{
-		MessageManager* m = msglog();
 		int y = 0;
 		const int margin = 2;
 		QColor col = Qt::black;
 		paint.setPen( QPen() );
 		
-		for( const MessageManager::Line& line : *m )
+		for( const MessageManager::Line& line : *msglog())
 		{
 			col.setAlphaF( line.alpha );
 			paint.setPen( QPen( col ));

mercurial