From 59521cce7025f18061b6e6c1cd2a4e82f38ea271 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 31 Aug 2010 03:00:26 +0000 Subject: Reverted accidental TQt commit which broke compilation under Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1170194 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kapplication.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp index 7d205e055..8edc1d170 100644 --- a/kdecore/kapplication.cpp +++ b/kdecore/kapplication.cpp @@ -1214,7 +1214,7 @@ void KApplication::commitData( QSessionManager& sm ) if ( sm.allowsInteraction() ) { TQWidgetList done; - TQWidgetList *list = TQWidgetList(TQApplication::topLevelWidgets()); + TQWidgetList *list = TQApplication::topLevelWidgets(); bool canceled = false; TQWidget* w = list->first(); while ( !canceled && w ) { @@ -1225,7 +1225,7 @@ void KApplication::commitData( QSessionManager& sm ) if ( !canceled ) done.append( w ); delete list; // one never knows... - list = TQWidgetList(TQApplication::topLevelWidgets()); + list = TQApplication::topLevelWidgets(); w = list->first(); } else { w = list->next(); -- cgit v1.2.1