summaryrefslogtreecommitdiffabout
path: root/kaddressbook/phoneeditwidget.cpp
authorzautrix <zautrix>2005-07-06 11:34:56 (UTC)
committer zautrix <zautrix>2005-07-06 11:34:56 (UTC)
commit1e5f0fbaac9814c7289137a74a460494553245c2 (patch) (side-by-side diff)
tree670330f38ba364590c9404c135a8b6d9ac9bfb2e /kaddressbook/phoneeditwidget.cpp
parent62a3094163367227c98494d7f69724aba4927584 (diff)
downloadkdepimpi-1e5f0fbaac9814c7289137a74a460494553245c2.zip
kdepimpi-1e5f0fbaac9814c7289137a74a460494553245c2.tar.gz
kdepimpi-1e5f0fbaac9814c7289137a74a460494553245c2.tar.bz2
fixx
Diffstat (limited to 'kaddressbook/phoneeditwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/phoneeditwidget.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp
index a435959..2bce39a 100644
--- a/kaddressbook/phoneeditwidget.cpp
+++ b/kaddressbook/phoneeditwidget.cpp
@@ -396,7 +396,10 @@ PhoneEditDialog::PhoneEditDialog( const KABC::PhoneNumber::List &list, QWidget *
KABC::PhoneNumber::List::Iterator it;
for ( it = mPhoneNumberList.begin(); it != mPhoneNumberList.end(); ++it )
new PhoneViewItem( mListView, *it );
-
+ if (QApplication::desktop()->width() < 480 )
+ showMaximized();
+ else
+ resize( 400, 400 );
mChanged = false;
}