diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 01:31:16 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 01:31:16 +0000 |
commit | 7d7b2c04e147670ed65c5be42de7b7b131122856 (patch) | |
tree | 22b58114e71ac6a0e30730eccce10aa4d21e807a /khtml | |
parent | a46e33728580cacf68994d5b5d3780a5bcb58e8b (diff) | |
download | tdelibs-7d7b2c04e147670ed65c5be42de7b7b131122856.tar.gz tdelibs-7d7b2c04e147670ed65c5be42de7b7b131122856.zip |
Fix kdelibs FTBFS under Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1246982 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml')
-rw-r--r-- | khtml/java/kjavaappletserver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/khtml/java/kjavaappletserver.cpp b/khtml/java/kjavaappletserver.cpp index d95f194ad..a34f37ea7 100644 --- a/khtml/java/kjavaappletserver.cpp +++ b/khtml/java/kjavaappletserver.cpp @@ -777,7 +777,7 @@ PermissionDialog::PermissionDialog( TQWidget* parent ) {} TQCString PermissionDialog::exec( const TQString & cert, const TQString & perm ) { - TQGuardedPtr<TQDialog> dialog = new TQDialog( static_cast<TQWidget*>(parent()), "PermissionDialog"); + TQGuardedPtr<TQDialog> dialog = new TQDialog( TQT_TQWIDGET(parent()), "PermissionDialog"); dialog->tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)1, (TQSizePolicy::SizeType)1, 0, 0, dialog->sizePolicy().hasHeightForWidth() ) ); dialog->setModal( true ); |