X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fsubwindows%2Fdecoder_selector%2Fmodel.cpp;h=dafe4f2d1bf3fe66a4a8473513788f7174540d27;hb=a7af8bb09efb5c5a8e4f188cfc0c2f4a4f469647;hp=7b41a39fb129dcdebb5d29f7bc99ed230995b082;hpb=edf9f6bb11b13559afba60834be6e8d3578f03c0;p=pulseview.git diff --git a/pv/subwindows/decoder_selector/model.cpp b/pv/subwindows/decoder_selector/model.cpp index 7b41a39f..dafe4f2d 100644 --- a/pv/subwindows/decoder_selector/model.cpp +++ b/pv/subwindows/decoder_selector/model.cpp @@ -128,7 +128,7 @@ QVariant DecoderCollectionModel::data(const QModelIndex& index, int role) const Qt::ItemFlags DecoderCollectionModel::flags(const QModelIndex& index) const { if (!index.isValid()) - return 0; + return nullptr; return Qt::ItemIsEnabled | Qt::ItemIsSelectable; }