From 14e09a10bff58fac21c14f3171bd0979b2fdbe17 Mon Sep 17 00:00:00 2001 From: korovkin Date: Mon, 20 Mar 2006 21:46:03 +0000 Subject: Quick fix: made dialog boxes fit into the 240x320 screen. --- (limited to 'noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp') diff --git a/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp b/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp index 3fe2ea6..be720b8 100644 --- a/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp +++ b/noncore/net/opietooth/manager/rfcommassigndialogimpl.cpp @@ -60,6 +60,8 @@ void RfcommAssignDialog::newDevice( const QString & mac ) if ( it == confHandler->foundEntries().end() ) { QDialog dialog( this, "newdevice", true, WStyle_ContextHelp ); + dialog.setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, + (QSizePolicy::SizeType)7, sizePolicy().hasHeightForWidth())); RfcommDialogItem *newDev = new RfcommDialogItem( &dialog ); newDev->setIdent( i ); -- cgit v0.9.0.2