diff --git a/src/cpp/songsqlmodel.cpp b/src/cpp/songsqlmodel.cpp index 3c3bc9e..6e06971 100644 --- a/src/cpp/songsqlmodel.cpp +++ b/src/cpp/songsqlmodel.cpp @@ -714,7 +714,7 @@ void SongSqlModel::updateFontSize(const int &row, const int &fontSize) { SongProxyModel::SongProxyModel(QObject *parent) :QSortFilterProxyModel(parent) { - SongSqlModel songModel = new SongSqlModel; + SongSqlModel *songModel = new SongSqlModel; setSourceModel(songModel); setDynamicSortFilter(true); setFilterRole(Qt::UserRole + 1);