X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fsubwindows%2Fdecoder_selector%2Fsubwindow.hpp;h=c189fb24860efb085a859617e5bd8bf4bcb896eb;hp=a1ace196eb66eb3f64ab431270473c850ef82fb4;hb=c409988b235a55772537ef92e1a231bb0a75fa6e;hpb=c52493c97570bfef5e4efb50e9f115da562ecf06 diff --git a/pv/subwindows/decoder_selector/subwindow.hpp b/pv/subwindows/decoder_selector/subwindow.hpp index a1ace196..c189fb24 100644 --- a/pv/subwindows/decoder_selector/subwindow.hpp +++ b/pv/subwindows/decoder_selector/subwindow.hpp @@ -65,7 +65,7 @@ class DecoderCollectionModel : public QAbstractItemModel Q_OBJECT public: - DecoderCollectionModel(QObject* parent = 0); + DecoderCollectionModel(QObject* parent = nullptr); QVariant data(const QModelIndex& index, int role) const override; Qt::ItemFlags flags(const QModelIndex& index) const override; @@ -134,6 +134,7 @@ public Q_SLOTS: void on_item_activated(const QModelIndex& index); void on_filter_changed(const QString& text); + void on_filter_return_pressed(); private: QSplitter* splitter_; @@ -146,7 +147,7 @@ private: QCustomSortFilterProxyModel* sort_filter_model_; }; -} // decoder_selector +} // namespace decoder_selector } // namespace subwindows } // namespace pv