mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Added BLACK_VERIFY
This commit is contained in:
committed by
Mathew Sutcliffe
parent
46521c5560
commit
102a0d51a0
@@ -15,8 +15,8 @@
|
||||
#include "blackgui/components/dbmodelcomponent.h"
|
||||
#include "blackgui/components/logcomponent.h"
|
||||
#include "blackmisc/icons.h"
|
||||
#include "blackmisc/verify.h"
|
||||
#include "ui_datamaininfoareacomponent.h"
|
||||
|
||||
#include <QIcon>
|
||||
|
||||
using namespace BlackMisc;
|
||||
@@ -66,12 +66,16 @@ namespace BlackGui
|
||||
void CDataMainInfoAreaComponent::displayLog()
|
||||
{
|
||||
this->selectArea(InfoAreaLog);
|
||||
BLACK_VERIFY_X(this->getLogComponent(), Q_FUNC_INFO, "No log component");
|
||||
if (!this->getLogComponent()) { return; }
|
||||
this->getLogComponent()->displayLog();
|
||||
}
|
||||
|
||||
void CDataMainInfoAreaComponent::displayConsole()
|
||||
{
|
||||
this->selectArea(InfoAreaLog);
|
||||
BLACK_VERIFY_X(this->getLogComponent(), Q_FUNC_INFO, "No log component");
|
||||
if (!this->getLogComponent()) { return; }
|
||||
this->getLogComponent()->displayConsole();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user