mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
refs #655, Change signature (order) of setProperty/compareProperty
This commit is contained in:
committed by
Roland Winklmeier
parent
49094115b1
commit
0f5d2a29a8
@@ -57,7 +57,7 @@ namespace BlackMisc
|
||||
return CVariant::fromValue(m);
|
||||
}
|
||||
|
||||
void IOrderable::setPropertyByIndex(const CVariant &variant, const CPropertyIndex &index)
|
||||
void IOrderable::setPropertyByIndex(const CPropertyIndex &index, const CVariant &variant)
|
||||
{
|
||||
if (!index.isEmpty())
|
||||
{
|
||||
@@ -76,7 +76,7 @@ namespace BlackMisc
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, m.toLocal8Bit().constData());
|
||||
}
|
||||
|
||||
int IOrderable::comparePropertyByIndex(const IOrderable &compareValue, const CPropertyIndex &index) const
|
||||
int IOrderable::comparePropertyByIndex(const CPropertyIndex &index, const IOrderable &compareValue) const
|
||||
{
|
||||
Q_UNUSED(index);
|
||||
static const int max = std::numeric_limits<int>::max();
|
||||
|
||||
Reference in New Issue
Block a user