From 48ee824733799aa66735db35dc9b0f8d95bac831 Mon Sep 17 00:00:00 2001
From: dt <qtc-committer@nokia.com>
Date: Mon, 12 Apr 2010 17:25:10 +0200
Subject: [PATCH] Fix crash

Nowadays we don't use QString::null for special cases, thus the
filemanager can allow that.

Task-Nr: QTCREATORBUG-1072
---
 src/plugins/coreplugin/filemanager.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/plugins/coreplugin/filemanager.cpp b/src/plugins/coreplugin/filemanager.cpp
index 6ec36b5257b..b38b5228476 100644
--- a/src/plugins/coreplugin/filemanager.cpp
+++ b/src/plugins/coreplugin/filemanager.cpp
@@ -267,9 +267,6 @@ void FileManager::removeFileInfo(IFile *file)
         }
     }
 
-    // The filename might be empty but not null
-    Q_ASSERT(fileName != QString::null);
-
     removeFileInfo(fileName, file);
 }
 
-- 
GitLab