Ignore:
Timestamp:
11/05/12 15:24:34 (18 months ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed Qt's plugin search path on Windows.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeCanvas/main.py

    r11167 r11168  
    7676    (options, args) = parser.parse_args(argv) 
    7777 
    78     open_config() 
    79  
    8078    levels = [logging.CRITICAL, 
    8179              logging.WARN, 
     
    9593        qt_argv += options.qt.split() 
    9694 
     95    log.debug("Starting CanvasApplicaiton with argv = %r.", qt_argv) 
     96    app = CanvasApplication(qt_argv) 
     97 
     98    # Note: config.init must be called after the QApplication constructor 
    9799    config.init() 
    98100    settings = QSettings() 
    99  
    100     log.debug("Starting CanvasApplicaiton with argv = %r.", qt_argv) 
    101     app = CanvasApplication(qt_argv) 
    102101 
    103102    stylesheet = options.stylesheet 
Note: See TracChangeset for help on using the changeset viewer.