mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Issue #77 getLogCategories returns a simple QStringList instead of our own class
This commit is contained in:
@@ -24,9 +24,9 @@ namespace BlackSimPlugin
|
||||
{
|
||||
namespace XPlane
|
||||
{
|
||||
const CLogCategoryList &CXSwiftBusTrafficProxy::getLogCategories()
|
||||
const QStringList &CXSwiftBusTrafficProxy::getLogCategories()
|
||||
{
|
||||
static const CLogCategoryList cats { CLogCategory::driver(), CLogCategory::dbus() };
|
||||
static const QStringList cats { CLogCategories::driver(), CLogCategories::dbus() };
|
||||
return cats;
|
||||
}
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ namespace BlackSimPlugin
|
||||
}
|
||||
|
||||
//! Log. categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
static const QStringList &getLogCategories();
|
||||
|
||||
//! Constructor
|
||||
CXSwiftBusTrafficProxy(QDBusConnection &connection, QObject *parent = nullptr, bool dummy = false);
|
||||
|
||||
Reference in New Issue
Block a user