mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
[FSD] wallop message sending incomplete fixed
This commit is contained in:
committed by
Mat Sutcliffe
parent
2a34786039
commit
b9ea40e8d1
@@ -57,7 +57,7 @@ namespace BlackMisc
|
||||
return m_splitParts.at(index);
|
||||
}
|
||||
|
||||
QString CSimpleCommandParser::remainingStringAfter(int index) const
|
||||
QString CSimpleCommandParser::partAndRemainingStringAfter(int index) const
|
||||
{
|
||||
if (index < 0) { return m_cleanedLine; }
|
||||
const QString p = this->part(index);
|
||||
|
||||
@@ -45,8 +45,9 @@ namespace BlackMisc
|
||||
//! Get part, 0 is command itself
|
||||
const QString &part(int index) const;
|
||||
|
||||
//! Remaining part after
|
||||
QString remainingStringAfter(int index) const;
|
||||
//! Part and remaing string after
|
||||
//! \remark trimmed and simlified
|
||||
QString partAndRemainingStringAfter(int index) const;
|
||||
|
||||
//! Count parts
|
||||
int countParts() const;
|
||||
|
||||
Reference in New Issue
Block a user