This commit is contained in:
Blue 2020-07-29 23:26:56 +03:00
parent 480c78cf61
commit a543eb1aef
7 changed files with 12 additions and 11 deletions

View file

@ -308,7 +308,7 @@ void Models::Roster::updateAccount(const QString& account, const QString& field,
Qt::ItemFlags Models::Roster::flags(const QModelIndex& index) const
{
if (!index.isValid()) {
return 0;
return Qt::ItemFlags();
}
return QAbstractItemModel::flags(index);

View file

@ -84,7 +84,7 @@ QLayoutItem *FlowLayout::takeAt(int index)
Qt::Orientations FlowLayout::expandingDirections() const
{
return 0;
return Qt::Orientations();
}
bool FlowLayout::hasHeightForWidth() const