mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-16 09:03:51 -05:00
Added Qt dependent macro for QString::SkipEmptyParts/Qt::SkipEmptyParts
This commit is contained in:
parent
f38b72e7a3
commit
e2e1a431ff
11 changed files with 23 additions and 17 deletions
|
|
@ -41,6 +41,7 @@
|
|||
#include "util/DateTime.h"
|
||||
#include "util/qtthreadsutils.h"
|
||||
#include "gui/common/FilesDefs.h"
|
||||
#include "util/QtVersion.h"
|
||||
|
||||
#include "GxsChannelPostsWidgetWithModel.h"
|
||||
#include "GxsChannelPostsModel.h"
|
||||
|
|
@ -1454,7 +1455,7 @@ void GxsChannelPostsWidgetWithModel::switchOnlyUnread(bool)
|
|||
}
|
||||
void GxsChannelPostsWidgetWithModel::filterChanged(QString s)
|
||||
{
|
||||
QStringList ql = s.split(' ',QString::SkipEmptyParts);
|
||||
QStringList ql = s.split(' ',QtSkipEmptyParts);
|
||||
uint32_t count;
|
||||
mChannelPostsModel->setFilter(ql,ui->showUnread_TB->isChecked(),count);
|
||||
mChannelFilesModel->setFilter(ql,count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue