Changeset 172 for trunk


Ignore:
Timestamp:
Nov 6, 2007, 10:47:07 PM (18 years ago)
Author:
dmik
Message:

Kernel: Fixed: Don't forget to unPolish() the currently active style on application termination (QApplication destruction).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel/qapplication.cpp

    r111 r172  
    10641064    app_fonts = 0;
    10651065#ifndef QT_NO_STYLE
    1066     delete app_style;
    1067     app_style = 0;
     1066    if ( app_style != 0 ) {
     1067        app_style->unPolish( this );
     1068        delete app_style;
     1069        app_style = 0;
     1070    }
    10681071#endif
    10691072#ifndef QT_NO_CURSOR
Note: See TracChangeset for help on using the changeset viewer.