From ee729b264278cbe8a39519c88d307e1329ecadb1 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Tue, 6 Jul 2010 15:52:32 +0000 Subject: [PATCH] (trunk svn) #3398 "fix compilation with QT < 4.5" -- fixed --- qt/details.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/details.cc b/qt/details.cc index f98ecab20..f9a03c933 100644 --- a/qt/details.cc +++ b/qt/details.cc @@ -377,7 +377,7 @@ Details :: refresh( ) if( torrents.empty( ) ) string = none; - else if( torrents.length() == 1 ) + else if( torrents.count() == 1 ) string = Formatter::ratioToString( torrents.first()->ratio() ); else { bool isMixed = false;