Helpviewer/CookieJar/CookieExceptionsModel.py

changeset 12
1d8dd9706f46
parent 7
c679fb30c8f3
child 13
1af94a91f439
--- a/Helpviewer/CookieJar/CookieExceptionsModel.py	Fri Jan 01 16:11:36 2010 +0000
+++ b/Helpviewer/CookieJar/CookieExceptionsModel.py	Sat Jan 02 15:11:35 2010 +0000
@@ -10,7 +10,7 @@
 from PyQt4.QtCore import *
 from PyQt4.QtGui import *
 
-from CookieJar import CookieJar
+from .CookieJar import CookieJar
 
 class CookieExceptionsModel(QAbstractTableModel):
     """
@@ -46,7 +46,7 @@
         """
         if role == Qt.SizeHintRole:
             fm = QFontMetrics(QFont())
-            height = fm.height() + fm.height() / 3
+            height = fm.height() + fm.height() // 3
             width = \
                 fm.width(self.headerData(section, orientation, Qt.DisplayRole))
             return QSize(width, height)

eric ide

mercurial