Fixed a copy and paste issue in the safe browsing cache.

Fri, 25 Aug 2017 16:14:48 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 25 Aug 2017 16:14:48 +0200
changeset 5847
fd1262c3fa79
parent 5846
b3cc692e3bfe
child 5848
56388f41b1e6

Fixed a copy and paste issue in the safe browsing cache.

WebBrowser/SafeBrowsing/SafeBrowsingCache.py file | annotate | diff | comparison | revisions
--- a/WebBrowser/SafeBrowsing/SafeBrowsingCache.py	Fri Aug 11 19:50:06 2017 +0200
+++ b/WebBrowser/SafeBrowsing/SafeBrowsingCache.py	Fri Aug 25 16:14:48 2017 +0200
@@ -211,7 +211,7 @@
         """
         if QSqlDatabase.database(self.__connectionName).isOpen():
             QSqlDatabase.database(self.__connectionName).close()
-            QSqlDatabase.removeDatabase(self.__language)
+            QSqlDatabase.removeDatabase(self.__connectionName)
     
     def __openCacheDb(self):
         """

eric ide

mercurial