MCPcopy Create free account
hub / github.com/Komet/MediaElch / setSourceModel

Method setSourceModel

src/ui/main/QuickOpen.cpp:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 void setSourceModel(QAbstractItemModel* sourceModel) override
35 {
36 // also default-initializes socres, i.e. 0
37 m_scores.resize(sourceModel->rowCount());
38 QSortFilterProxyModel::setSourceModel(sourceModel);
39 }
40
41public:
42 int columnCount(const QModelIndex& parent = QModelIndex()) const override

Callers 10

AlbumMethod · 0.80
TvShowFilesWidgetMethod · 0.80
MovieFilesWidgetMethod · 0.80
loadStreamDetailsMethod · 0.80
renewModelMethod · 0.80
MovieDuplicatesMethod · 0.80
setModelMethod · 0.80
MusicFilesWidgetMethod · 0.80
ConcertFilesWidgetMethod · 0.80
renewModelMethod · 0.80

Calls 1

rowCountMethod · 0.45

Tested by

no test coverage detected