mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
Ref T472, style
This commit is contained in:
committed by
Mat Sutcliffe
parent
d713e8a264
commit
bada0c2f59
@@ -131,10 +131,10 @@ namespace BlackMisc
|
||||
const ColumnIndex i = index.frontCasted<ColumnIndex>();
|
||||
switch (i)
|
||||
{
|
||||
case IndexName: return m_name.compare(compareValue.getName(), Qt::CaseInsensitive);
|
||||
case IndexPath: return m_description.compare(compareValue.getPath(), Qt::CaseInsensitive);
|
||||
case IndexName: return m_name.compare(compareValue.getName(), Qt::CaseInsensitive);
|
||||
case IndexPath: return m_description.compare(compareValue.getPath(), Qt::CaseInsensitive);
|
||||
case IndexDescription: return m_path.compare(compareValue.getDescription(), Qt::CaseInsensitive);
|
||||
case IndexAssignable: return Compare::compare(this->isAssignable(), compareValue.isAssignable());
|
||||
case IndexAssignable: return Compare::compare(this->isAssignable(), compareValue.isAssignable());
|
||||
default: return CValueObject::comparePropertyByIndex(index, *this);
|
||||
}
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, "No comparison");
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
#define BLACKMISC_AVIATION_AIRCRAFTCATEGORYLIST_H
|
||||
|
||||
#include "aircraftcategory.h"
|
||||
#include "blackmisc/collection.h"
|
||||
#include "blackmisc/db/datastoreobjectlist.h"
|
||||
#include "blackmisc/collection.h"
|
||||
#include "blackmisc/sequence.h"
|
||||
#include "blackmisc/variant.h"
|
||||
#include "blackmisc/blackmiscexport.h"
|
||||
|
||||
Reference in New Issue
Block a user