Added Qt dependent macro for QString::SkipEmptyParts/Qt::SkipEmptyParts

This commit is contained in:
thunder2 2025-07-19 23:17:29 +02:00
parent f38b72e7a3
commit e2e1a431ff
11 changed files with 23 additions and 17 deletions

View file

@ -45,6 +45,7 @@
#include "util/DateTime.h"
#include "util/qtthreadsutils.h"
#include "gui/common/FilesDefs.h"
#include "util/QtVersion.h"
#include "gui/MainWindow.h"
@ -417,7 +418,7 @@ void PostedListWidgetWithModel::updateShowLabel()
void PostedListWidgetWithModel::filterItems(QString text)
{
QStringList lst = text.split(" ",QString::SkipEmptyParts) ;
QStringList lst = text.split(" ",QtSkipEmptyParts) ;
uint32_t count;
mPostedPostsModel->setFilter(lst,count) ;