~paulliu/qr-tools/python3

« back to all changes in this revision

Viewing changes to qtqr.py

  • Committer: Ramiro Algozino
  • Date: 2018-04-18 02:27:56 UTC
  • Revision ID: algozino@gmail.com-20180418022756-wf8mtu2l0njwm96t
Fixed temporal files bug. fileName is not required while encoding, and the signal was miss-setting the paramter.

Show diffs side-by-side

added added

removed removed

Lines of Context:
504
504
        self.settings.endGroup()
505
505
 
506
506
 
507
 
    def qrencode(self, fileName=None):
 
507
    def qrencode(self, *args, **kargs):
508
508
        #Functions to get the correct data
 
509
        fileName = None
509
510
        data_fields = {
510
511
            "text": unicode(self.textEdit.toPlainText()),
511
512
            "url": unicode(self.urlEdit.text()),