summaryrefslogtreecommitdiffabout
path: root/libkdepim
authorzautrix <zautrix>2004-10-27 00:49:03 (UTC)
committer zautrix <zautrix>2004-10-27 00:49:03 (UTC)
commitba3d660ed4f856362d2b914ed744874c235b4001 (patch) (side-by-side diff)
treed70423c6bf3a6342a6ae2277dda70f15736086a9 /libkdepim
parent00d623c9391a9bdaeb142f443f1dd09861317608 (diff)
downloadkdepimpi-ba3d660ed4f856362d2b914ed744874c235b4001.zip
kdepimpi-ba3d660ed4f856362d2b914ed744874c235b4001.tar.gz
kdepimpi-ba3d660ed4f856362d2b914ed744874c235b4001.tar.bz2
fixed some whantsnext view kayout
Diffstat (limited to 'libkdepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libkdepim/categoryeditdialog.cpp2
-rw-r--r--libkdepim/categoryselectdialog.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/libkdepim/categoryeditdialog.cpp b/libkdepim/categoryeditdialog.cpp
index f719c31..a19900f 100644
--- a/libkdepim/categoryeditdialog.cpp
+++ b/libkdepim/categoryeditdialog.cpp
@@ -58,6 +58,8 @@ CategoryEditDialog::CategoryEditDialog( KPimPrefs *prefs, QWidget* parent,
mButtonAdd->setEnabled(!mEdit->text().isEmpty());
if ( QApplication::desktop()->width() > 460 )
resize( 300, 360 );
+ else
+ showMaximized();
}
/*
diff --git a/libkdepim/categoryselectdialog.cpp b/libkdepim/categoryselectdialog.cpp
index 40b46cf..7df9154 100644
--- a/libkdepim/categoryselectdialog.cpp
+++ b/libkdepim/categoryselectdialog.cpp
@@ -46,12 +46,10 @@ CategorySelectDialog::CategorySelectDialog( KPimPrefs *prefs, QWidget* parent,
setCategories();
connect(mButtonEdit,SIGNAL(clicked()),this, SLOT(editCategoriesDialog()));
- if ( qApp->desktop()->height() < 321 )
- setMaximumHeight( QApplication::desktop()->height() - 50 );
- else
- setMaximumHeight( QApplication::desktop()->height() - 80 );
if ( QApplication::desktop()->width() > 460 )
- resize( 260, 360 );
+ resize( 300, 360 );
+ else
+ showMaximized();
}
void CategorySelectDialog::editCategoriesDialog()
{