Commit 520fe9b5 authored by Robert Maerkisch's avatar Robert Maerkisch

remove spaces

parent dc889503
Pipeline #6656 passed with stages
in 26 minutes and 1 second
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
<file alias="qml/elements/TextAvatar.qml">src/qml/elements/TextAvatar.qml</file> <file alias="qml/elements/TextAvatar.qml">src/qml/elements/TextAvatar.qml</file>
<file alias="qml/settings/SettingsItem.qml">src/qml/settings/SettingsItem.qml</file> <file alias="qml/settings/SettingsItem.qml">src/qml/settings/SettingsItem.qml</file>
<file alias="qml/settings/SettingsPage.qml">src/qml/settings/SettingsPage.qml</file> <file alias="qml/settings/SettingsPage.qml">src/qml/settings/SettingsPage.qml</file>
<file alias="qml/settings/SettingsSheet.qml">src/qml/settings/SettingsSheet.qml</file> <file alias="qml/settings/SettingsSheet.qml">src/qml/settings/SettingsSheet.qml</file>
<file alias="qml/settings/ChangeBackground.qml">src/qml/settings/ChangeBackground.qml</file> <file alias="qml/settings/ChangeBackground.qml">src/qml/settings/ChangeBackground.qml</file>
<file alias="qml/settings/ChangePassword.qml">src/qml/settings/ChangePassword.qml</file> <file alias="qml/settings/ChangePassword.qml">src/qml/settings/ChangePassword.qml</file>
<file alias="qtquickcontrols2.conf">misc/qtquickcontrols2.conf</file> <file alias="qtquickcontrols2.conf">misc/qtquickcontrols2.conf</file>
......
...@@ -40,8 +40,8 @@ RosterFilterProxyModel::RosterFilterProxyModel(QObject *parent) : QSortFilterPro ...@@ -40,8 +40,8 @@ RosterFilterProxyModel::RosterFilterProxyModel(QObject *parent) : QSortFilterPro
bool RosterFilterProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const bool RosterFilterProxyModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
{ {
QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent); QModelIndex index = sourceModel()->index(sourceRow, 0, sourceParent);
return sourceModel()->data(index, RosterModel::NameRole).toString().toLower().contains(filterRegExp()) || return sourceModel()->data(index, RosterModel::NameRole).toString().toLower().contains(filterRegExp()) ||
sourceModel()->data(index, RosterModel::JidRole).toString().toLower().contains(filterRegExp()); sourceModel()->data(index, RosterModel::JidRole).toString().toLower().contains(filterRegExp());
} }
...@@ -35,12 +35,12 @@ ...@@ -35,12 +35,12 @@
class RosterFilterProxyModel : public QSortFilterProxyModel class RosterFilterProxyModel : public QSortFilterProxyModel
{ {
Q_OBJECT Q_OBJECT
public: public:
RosterFilterProxyModel(QObject *parent = nullptr); RosterFilterProxyModel(QObject *parent = nullptr);
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override; bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
}; };
#endif // ROSTERFILTERPROXYMODEL_H #endif // ROSTERFILTERPROXYMODEL_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment