mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Issue #77 Break cyclic dependency between CStatusMessage and CStatusException, by removing unused methods
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
#include "blackmisc/statusmessage.h"
|
||||
#include "blackmisc/statusexception.h"
|
||||
#include "blackmisc/propertyindexref.h"
|
||||
#include "blackmisc/iconlist.h"
|
||||
#include "blackmisc/logpattern.h"
|
||||
@@ -192,19 +191,6 @@ namespace BlackMisc
|
||||
}
|
||||
}
|
||||
|
||||
CStatusException CStatusMessage::asException() const
|
||||
{
|
||||
return CStatusException(*this);
|
||||
}
|
||||
|
||||
void CStatusMessage::maybeThrow() const
|
||||
{
|
||||
if (! this->isEmpty())
|
||||
{
|
||||
throw this->asException();
|
||||
}
|
||||
}
|
||||
|
||||
QString CStatusMessage::getCategoriesAsString() const
|
||||
{
|
||||
return m_categories.toQString();
|
||||
|
||||
Reference in New Issue
Block a user