summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-31 03:00:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-31 03:00:26 +0000
commit59521cce7025f18061b6e6c1cd2a4e82f38ea271 (patch)
treed7fb0affd8a7cd5f45f39dd82a072c8d1b48483e
parent5c53de6d11e4a3d61e52be851479713f2d8af67e (diff)
downloadtdelibs-59521cce7025f18061b6e6c1cd2a4e82f38ea271.tar.gz
tdelibs-59521cce7025f18061b6e6c1cd2a4e82f38ea271.zip
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
-rw-r--r--kdecore/kapplication.cpp4
1 files 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();