mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
refs #239, empty method for views
This commit is contained in:
@@ -75,6 +75,13 @@ namespace BlackGui
|
|||||||
Q_ASSERT(this->m_model);
|
Q_ASSERT(this->m_model);
|
||||||
return this->m_model->rowCount();
|
return this->m_model->rowCount();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! Any data?
|
||||||
|
bool isEmpty() const
|
||||||
|
{
|
||||||
|
Q_ASSERT(this->m_model);
|
||||||
|
return this->m_model->rowCount() < 1;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
#endif // guard
|
#endif // guard
|
||||||
|
|||||||
Reference in New Issue
Block a user