diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index b07628a49..bbbf0cccb 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -164,7 +164,7 @@ void FinishedTorrents::on_actionSet_upload_limit_triggered(){ } void FinishedTorrents::updateFinishedList(){ - Q_ASSERT((GUI*)parent->getCurrentTabIndex() == 1); + Q_ASSERT(((GUI*)parent)->getCurrentTabIndex() == 1); QString hash; foreach(hash, finishedSHAs){ torrent_handle h = BTSession->getTorrentHandle(hash);