Browse Source

Bring qr-code in full visiblity

283
Maran 13 years ago
parent
commit
850d3580ae
  1. 2
      lib/gui_qt.py

2
lib/gui_qt.py

@ -153,7 +153,7 @@ class QRCodeWidget(QWidget):
def paintEvent(self, e): def paintEvent(self, e):
qp = QtGui.QPainter() qp = QtGui.QPainter()
qp.begin(self) qp.begin(self)
boxsize = 7 boxsize = 6
size = self.qr.getModuleCount()*boxsize size = self.qr.getModuleCount()*boxsize
k = self.qr.getModuleCount() k = self.qr.getModuleCount()
black = QColor(0, 0, 0, 255) black = QColor(0, 0, 0, 255)

Loading…
Cancel
Save