This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 22nd, 2013  |  syntax: None  |  size: 0.53 KB  |  views: 118  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. --- qplt.py     2009/10/10 13:17:15     1.20
  2. +++ qplt.py     2010/01/02 10:37:22     1.21
  3. @@ -204,7 +204,7 @@
  4.                  self.setTitle(text)
  5.              elif isinstance(item, int):
  6.                  self.setZoomerMouseEventSet(item)
  7. -            elif (isinstance(item, tuple) and len(tuple) == 2
  8. +            elif (isinstance(item, tuple) and len(item) == 2
  9.                    and isinstance(item[0], int) and isinstance(item[1], int)):
  10.                  self.size = item
  11.              elif isinstance(item, QWidget): # accept a parent silently
clone this paste RAW Paste Data