Skip to content

Commit

Permalink
workaround for segfault in ShowtimesView
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Porsch committed May 1, 2014
1 parent f2066d6 commit 1fa26f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theaterlistmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ MovieListModel* TheaterListModel::showtimes(const QModelIndex& index)
const Cinema& cinema = m_cinemas.at(index.row());

if (m_currentMovieListModel) {
delete m_currentMovieListModel;
// delete m_currentMovieListModel; // ugly workaround for segfault in ShowtimesView
}

m_currentMovieListModel = cinema.showtimesModel();
Expand Down

0 comments on commit 1fa26f8

Please sign in to comment.