mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-11 15:50:38 -04:00
Fixed filter in FriendList.
This commit is contained in:
parent
217c9b9538
commit
641a433f97
3 changed files with 18 additions and 8 deletions
|
@ -35,7 +35,7 @@ public:
|
|||
QString placeholderText() { return mPlaceholderText; }
|
||||
void setPlaceholderText(const QString &text);
|
||||
|
||||
void filterItems(int filterColumn, const QString &text);
|
||||
void filterItems(int filterColumn, const QString &text, int role = Qt::DisplayRole);
|
||||
|
||||
void setSettingsVersion(qint32 version);
|
||||
void processSettings(bool load);
|
||||
|
@ -53,7 +53,7 @@ signals:
|
|||
void columnVisibleChanged(int column, bool visible);
|
||||
|
||||
private:
|
||||
bool filterItem(QTreeWidgetItem *item, int filterColumn, const QString &text);
|
||||
bool filterItem(QTreeWidgetItem *item, int filterColumn, const QString &text, int role);
|
||||
|
||||
private slots:
|
||||
void headerContextMenuRequested(const QPoint &pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue