refs #316 Swiftcore, swiftgui, and samples use CLogHandler to display subscribed messages.

This commit is contained in:
Mathew Sutcliffe
2014-09-25 21:53:23 +01:00
parent aef7135e28
commit dc4de279d0
10 changed files with 91 additions and 96 deletions

View File

@@ -3,6 +3,7 @@
#include "guimodeenums.h"
#include "blackcore/blackcorefreefunctions.h"
#include "blackmisc/blackmiscfreefunctions.h"
#include "blackmisc/loghandler.h"
#include <QtGlobal>
#include <QApplication>
#include <QMessageBox>
@@ -33,6 +34,7 @@ int main(int argc, char *argv[])
// app
QApplication a(argc, argv);
BlackMisc::CLogHandler::instance()->install();
a.installTranslator(&translator);
// modes