Helpviewer/Passwords/PasswordsDialog.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 13
1af94a91f439
--- a/Helpviewer/Passwords/PasswordsDialog.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Helpviewer/Passwords/PasswordsDialog.py	Sat Jan 02 15:11:35 2010 +0000
@@ -12,9 +12,9 @@
 
 import Helpviewer.HelpWindow
 
-from PasswordModel import PasswordModel
+from .PasswordModel import PasswordModel
 
-from Ui_PasswordsDialog import Ui_PasswordsDialog
+from .Ui_PasswordsDialog import Ui_PasswordsDialog
 
 import UI.PixmapCache
 
@@ -52,7 +52,7 @@
         self.passwordsTable.setModel(self.__proxyModel)
         
         fm = QFontMetrics(QFont())
-        height = fm.height() + fm.height() / 3
+        height = fm.height() + fm.height() // 3
         self.passwordsTable.verticalHeader().setDefaultSectionSize(height)
         self.passwordsTable.verticalHeader().setMinimumSectionSize(-1)
         

eric ide

mercurial