From 5f698069bca9dde2c8be9ff1bf863ee3a7a33cf0 Mon Sep 17 00:00:00 2001 From: ar Date: Sun, 08 Feb 2004 19:14:56 +0000 Subject: improve support for BigScreen --- (limited to 'noncore/comm/keypebble') diff --git a/noncore/comm/keypebble/kvnc.cpp b/noncore/comm/keypebble/kvnc.cpp index 25c8919..2fa8d1f 100644 --- a/noncore/comm/keypebble/kvnc.cpp +++ b/noncore/comm/keypebble/kvnc.cpp @@ -127,8 +127,7 @@ void KVNC::newConnection() curServer=new KRFBServer; KVNCConnDlg dlg( curServer,this); - dlg.showMaximized(); - if ( dlg.exec()) { + if ( QPEApplication::execDialog( &dlg )) { if (!curServer->name.isEmpty()) bookmarkSelector->addBookmark(curServer); canvas->openConnection(*curServer); @@ -142,9 +141,7 @@ void KVNC::openConnection( QString name) if (curServer) { KVNCConnDlg dlg( curServer,this); - dlg.showMaximized(); - - if ( dlg.exec() ) { + if ( QPEApplication::execDialog( &dlg ) ) { canvas->openConnection(*curServer); bookmarkSelector->writeBookmarks(); } else -- cgit v0.9.0.2