fix possible infinite loop in intro.cpp thread

- it was possible to trigger an infinite loop in FreespaceChecker::check() by
  simply removing the drive letter on Windows (which leads to an infinite
  loop in the FreespaceChecker thread)
- this was caused by not checking if we make progress with
  parentDir.parent_path()
This commit is contained in:
Philip Kaufmann
2013-07-23 12:00:41 +02:00
parent 2b894bceac
commit 5bc6d8e580
2 changed files with 10 additions and 1 deletions

View File

@@ -37,6 +37,7 @@ public:
* Determine default data directory for operating system.
*/
static QString getDefaultDataDirectory();
signals:
void requestCheck();
void stopThread();