summaryrefslogtreecommitdiff
blob: bdb494c4956ad9dee92d0dd2102640aebb25ecff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/ktorrent/core.cpp
+++ b/ktorrent/core.cpp
@@ -1206,6 +1206,10 @@
 
 	bool Core::checkMissingFiles(TorrentInterface* tc)
 	{
+        QStringList missing;
+        if(!tc->hasMissingFiles(missing))
+            return true;
+        
 		QStringList not_mounted;
 		while(!tc->isStorageMounted(not_mounted))
 		{
@@ -1226,10 +1230,6 @@
 			}
 		}
 
-		QStringList missing;
-		if(!tc->hasMissingFiles(missing))
-			return true;
-
 		if(tc->getStats().multi_file_torrent)
 		{
 			QString msg = i18n(