diff --git a/src/MainWindow.cs b/src/MainWindow.cs
index 5e7c1fb..57ea7fc 100644
--- a/src/MainWindow.cs
+++ b/src/MainWindow.cs
@@ -539,9 +539,6 @@ namespace FSpot
 			Preferences.SettingChanged += OnPreferencesChanged;
 	
 			main_window.DeleteEvent += HandleDeleteEvent;
-			
-			query_widget.HandleChanged (query);
-			query_widget.Close ();
 	
 			// When the icon_view is loaded, set it's initial scroll position
 			icon_view.SizeAllocated += HandleIconViewReady;
