[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdeaddons/konq-plugins/searchbar
From:       Pascal Létourneau <pletourn () globetrotter ! net>
Date:       2005-07-21 14:59:43
Message-ID: 1121957983.733988.22906.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 437331 by pletourn:

Don't crash konqueror on startup


 M  +3 -0      searchbar.cpp  


--- trunk/KDE/kdeaddons/konq-plugins/searchbar/searchbar.cpp #437330:437331
@@ -425,6 +425,9 @@
 	m_searchMode = (SearchModes) config->readNumEntry("Mode", (int) UseSearchProvider);
 	m_currentEngine = config->readEntry("CurrentEngine", engine);
 
+	if ( m_currentEngine.isEmpty() )
+	    m_currentEngine = "google";
+
 	setIcon();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic