forked from blue/squawk
0.1.5
This commit is contained in:
parent
480c78cf61
commit
a543eb1aef
7 changed files with 12 additions and 11 deletions
|
@ -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);
|
||||
|
|
|
@ -84,7 +84,7 @@ QLayoutItem *FlowLayout::takeAt(int index)
|
|||
|
||||
Qt::Orientations FlowLayout::expandingDirections() const
|
||||
{
|
||||
return 0;
|
||||
return Qt::Orientations();
|
||||
}
|
||||
|
||||
bool FlowLayout::hasHeightForWidth() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue