diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-25 17:20:19 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 10:10:19 -0400 |
| commit | 65b3eb24fc5e3e1033d583a24cb51a19b0cfac2c (patch) | |
| tree | 2863fbe1610a4cbc74bb7c8331ca5abed58f5c09 /src/filterwidget.cpp | |
| parent | 19a19ead4059c600680d6e7ac193490e32e03245 (diff) | |
filterable images
Diffstat (limited to 'src/filterwidget.cpp')
| -rw-r--r-- | src/filterwidget.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filterwidget.cpp b/src/filterwidget.cpp index 1b9efd7c..44cbb274 100644 --- a/src/filterwidget.cpp +++ b/src/filterwidget.cpp @@ -70,6 +70,11 @@ void FilterWidget::clear() m_edit->clear(); } +bool FilterWidget::empty() const +{ + return m_text.isEmpty(); +} + QModelIndex FilterWidget::map(const QModelIndex& index) { if (m_proxy) { |
