1190 securityOrigin.databaseUsage() == 0: |
1190 securityOrigin.databaseUsage() == 0: |
1191 # cope with a strange behavior of Qt 4.6, if a database is |
1191 # cope with a strange behavior of Qt 4.6, if a database is |
1192 # accessed for the first time |
1192 # accessed for the first time |
1193 return |
1193 return |
1194 |
1194 |
1195 res = QMessageBox.question(self, |
1195 res = E5MessageBox.question(self, |
1196 self.trUtf8("Web Database Quota"), |
1196 self.trUtf8("Web Database Quota"), |
1197 self.trUtf8("""<p>The database quota of <strong>{0}</strong> has""" |
1197 self.trUtf8("""<p>The database quota of <strong>{0}</strong> has""" |
1198 """ been exceeded while accessing database <strong>{1}""" |
1198 """ been exceeded while accessing database <strong>{1}""" |
1199 """</strong>.</p><p>Shall it be changed?</p>""")\ |
1199 """</strong>.</p><p>Shall it be changed?</p>""")\ |
1200 .format(self.__dataString(securityOrigin.databaseQuota()), databaseName), |
1200 .format(self.__dataString(securityOrigin.databaseQuota()), databaseName), |