"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ui/repo-tree-model.cpp" between
seafile-client-9.0.1.tar.gz and seafile-client-9.0.2.tar.gz

About: Seafile (client) for the Seafile cloud storage system.

repo-tree-model.cpp  (seafile-client-9.0.1):repo-tree-model.cpp  (seafile-client-9.0.2)
skipping to change at line 46 skipping to change at line 46
#if (QT_VERSION >= QT_VERSION_CHECK(6,0,0)) #if (QT_VERSION >= QT_VERSION_CHECK(6,0,0))
QRegularExpression makeFilterRegExp(const QString& text) QRegularExpression makeFilterRegExp(const QString& text)
{ {
return QRegularExpression(text.split(" ", Qt::SkipEmptyParts).join(".*"), return QRegularExpression(text.split(" ", Qt::SkipEmptyParts).join(".*"),
QRegularExpression::CaseInsensitiveOption); QRegularExpression::CaseInsensitiveOption);
} }
#else #else
QRegExp makeFilterRegExp(const QString& text) QRegExp makeFilterRegExp(const QString& text)
{ {
return QRegExp(text.split(" ", Qt::SkipEmptyParts).join(".*"), return QRegExp(text.split(" ", QString::SkipEmptyParts).join(".*"),
Qt::CaseInsensitive); Qt::CaseInsensitive);
} }
#endif #endif
} // namespace } // namespace
RepoTreeModel::RepoTreeModel(QObject *parent) RepoTreeModel::RepoTreeModel(QObject *parent)
: QStandardItemModel(parent), : QStandardItemModel(parent),
tree_view_(NULL) tree_view_(NULL)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)