mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
This commit is contained in:
@@ -26,9 +26,9 @@ using namespace BlackCore::Vatsim;
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
const CLogCategoryList &CThreadedReader::getLogCategories()
|
||||
const QStringList &CThreadedReader::getLogCategories()
|
||||
{
|
||||
static const BlackMisc::CLogCategoryList cats { BlackMisc::CLogCategory::worker() };
|
||||
static const QStringList cats { BlackMisc::CLogCategories::worker() };
|
||||
return cats;
|
||||
}
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace BlackCore
|
||||
{
|
||||
if (msg.isEmpty()) { return; }
|
||||
CStatusMessage logMsg(msg);
|
||||
logMsg.addCategory(CLogCategory::dataInconsistency());
|
||||
logMsg.addCategory(CLogCategories::dataInconsistency());
|
||||
if (funcInfo)
|
||||
{
|
||||
const QByteArray m(logMsg.getMessage().toLatin1());
|
||||
|
||||
Reference in New Issue
Block a user