|
|
@ -1214,7 +1214,7 @@ void KApplication::commitData( QSessionManager& sm )
|
|
|
|
|
|
|
|
|
|
|
|
if ( sm.allowsInteraction() ) {
|
|
|
|
if ( sm.allowsInteraction() ) {
|
|
|
|
TQWidgetList done;
|
|
|
|
TQWidgetList done;
|
|
|
|
TQWidgetList *list = TQWidgetList(TQApplication::topLevelWidgets());
|
|
|
|
TQWidgetList *list = TQApplication::topLevelWidgets();
|
|
|
|
bool canceled = false;
|
|
|
|
bool canceled = false;
|
|
|
|
TQWidget* w = list->first();
|
|
|
|
TQWidget* w = list->first();
|
|
|
|
while ( !canceled && w ) {
|
|
|
|
while ( !canceled && w ) {
|
|
|
@ -1225,7 +1225,7 @@ void KApplication::commitData( QSessionManager& sm )
|
|
|
|
if ( !canceled )
|
|
|
|
if ( !canceled )
|
|
|
|
done.append( w );
|
|
|
|
done.append( w );
|
|
|
|
delete list; // one never knows...
|
|
|
|
delete list; // one never knows...
|
|
|
|
list = TQWidgetList(TQApplication::topLevelWidgets());
|
|
|
|
list = TQApplication::topLevelWidgets();
|
|
|
|
w = list->first();
|
|
|
|
w = list->first();
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
w = list->next();
|
|
|
|
w = list->next();
|
|
|
|