Changeset 11342:6b6c71fa3af1 in orange


Ignore:
Timestamp:
02/21/13 11:57:42 (14 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Small fixes for PyQt compatibility

Location:
Orange/OrangeCanvas/utils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/utils/qtcompat.py

    r11299 r11342  
    2121    Get the api version for a name. 
    2222    """ 
    23     if sip.SIP_VERSION < 0x40900: 
     23    if sip.SIP_VERSION > 0x40900: 
    2424        return sip.getapi(name) 
    2525    elif name in _API_NAMES: 
  • Orange/OrangeCanvas/utils/settings.py

    r11300 r11342  
    1515 
    1616from PyQt4.QtCore import pyqtSignal as Signal 
    17 from PyQt4.QtCore import pyqtWrapperType 
     17 
     18pyqtWrapperType = type(QObject) 
    1819 
    1920from . import toPyObject 
Note: See TracChangeset for help on using the changeset viewer.