mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 12:55:31 +08:00
Fix BlackGui header includes
* Include only what is used * Use forward declaration when possible * Sorted includes refs #598
This commit is contained in:
@@ -12,9 +12,11 @@
|
||||
|
||||
#include "blackmisc/logcategorylist.h"
|
||||
#include "blackgui/menus/menuaction.h"
|
||||
|
||||
#include <QMenu>
|
||||
#include <QObject>
|
||||
|
||||
using namespace BlackMisc;
|
||||
class QWidget;
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
@@ -41,9 +43,9 @@ namespace BlackGui
|
||||
virtual ~IMenuDelegate() {}
|
||||
|
||||
//! Log categories
|
||||
const CLogCategoryList &getLogCategories()
|
||||
const BlackMisc::CLogCategoryList &getLogCategories()
|
||||
{
|
||||
static const CLogCategoryList cats({CLogCategory::guiComponent()});
|
||||
static const BlackMisc::CLogCategoryList cats({BlackMisc::CLogCategory::guiComponent()});
|
||||
return cats;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user