From 7f89b30190b787e4c9c95be2118ef8326c89a55f Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 29 Jul 2007 15:20:05 +0000 Subject: [PATCH] - Fixed a compiling error --- src/FinishedTorrents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);