summaryrefslogtreecommitdiffstats
path: root/kdecore/kapplication.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-30 23:26:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-30 23:26:07 +0000
commita3beaa08c4d5275d67447e2ed4e9a1bd2a4c3050 (patch)
tree027a7ec3076c84b189236a4b85d37a9357959fa7 /kdecore/kapplication.cpp
parentc0093442ecd61ebdd46f2f682b9f9a3e338677c7 (diff)
downloadtdelibs-a3beaa08c4d5275d67447e2ed4e9a1bd2a4c3050.tar.gz
tdelibs-a3beaa08c4d5275d67447e2ed4e9a1bd2a4c3050.zip
* More TQt/Qt4 features
* Various compilation fixes for Slackware git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1170159 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kapplication.cpp')
-rw-r--r--kdecore/kapplication.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdecore/kapplication.cpp b/kdecore/kapplication.cpp
index 8edc1d170..7d205e055 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 = TQApplication::topLevelWidgets();
+ TQWidgetList *list = TQWidgetList(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 = TQApplication::topLevelWidgets();
+ list = TQWidgetList(TQApplication::topLevelWidgets());
w = list->first();
} else {
w = list->next();