Skip to content
Permalink
Browse files
register QgsMessageLog::MessageLevel
  • Loading branch information
jef-n committed Jan 29, 2013
1 parent dc728f6 commit a8b1db825832acb0a5d570814e77f88775012678
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/qgsmessagelog.cpp
@@ -16,6 +16,7 @@
#include "qgsmessagelog.h"
#include <qgslogger.h>
#include <QDateTime>
#include <QMetaType>
#include <iostream>

class QgsMessageLogConsole;
@@ -31,7 +32,10 @@ QgsMessageLog::QgsMessageLog()
QgsMessageLog *QgsMessageLog::instance()
{
if ( !sInstance )
{
qRegisterMetaType<QgsMessageLog::MessageLevel>( "QgsMessageLog::MessageLevel" );
sInstance = new QgsMessageLog();
}

return sInstance;
}

0 comments on commit a8b1db8

Please sign in to comment.