From aee105ec6c2945d239d3b73a229d020054b1c03a Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Wed, 26 Dec 2012 20:24:36 +0200 Subject: [PATCH] Another minor optimization in qbtsession. --- src/qtlibtorrent/qbtsession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index da8334287..0940987ad 100755 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -404,7 +404,7 @@ void QBtSession::configureSession() { sessionSettings.auto_scrape_min_interval = 900; // 15 minutes int cache_size = pref.diskCacheSize(); sessionSettings.cache_size = cache_size ? cache_size * 64 : -1; - qDebug() << "Using a disk cache size of" << pref.diskCacheSize() << "MiB"; + qDebug() << "Using a disk cache size of" << cache_size << "MiB"; #if LIBTORRENT_VERSION_MINOR > 15 sessionSettings.anonymous_mode = pref.isAnonymousModeEnabled(); if (sessionSettings.anonymous_mode) {