author | zautrix <zautrix> | 2004-10-31 16:54:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-31 16:54:47 (UTC) |
commit | 3964a158be731f1bb244ca861262df5fa8d04cf3 (patch) (side-by-side diff) | |
tree | fa4a8e9af345c144562be480f21df6e3d8d609c7 /kmicromail/accountitem.cpp | |
parent | bed831cc1a38d38a4c5b9329bf37b1c663142c23 (diff) | |
download | kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.zip kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.tar.gz kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.tar.bz2 |
changed showmaximized for desktop
-rw-r--r-- | kmicromail/accountitem.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/kmicromail/accountitem.cpp b/kmicromail/accountitem.cpp index 567de87..fcb2052 100644 --- a/kmicromail/accountitem.cpp +++ b/kmicromail/accountitem.cpp @@ -311,17 +311,19 @@ QPopupMenu * NNTPviewItem::getContextMenu() } } return m; } void NNTPviewItem::subscribeGroups() { NNTPGroupsDlg dlg(account); +#ifndef DESKTOP_VERSION dlg.showMaximized(); +#endif if ( dlg.exec()== QDialog::Accepted ){ refresh(); } } void NNTPviewItem::disconnect() { QListViewItem *child = firstChild(); @@ -534,17 +536,19 @@ QPopupMenu * IMAPviewItem::getContextMenu() } return m; } void IMAPviewItem::createNewFolder() { Newmdirdlg ndirdlg; - ndirdlg.showMaximized(); +#ifndef DESKTOP_VERSION + //ndirdlg.showMaximized(); +#endif if ( ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); bool makesubs = ndirdlg.subpossible(); QString delemiter = "/"; IMAPfolderItem*item = (IMAPfolderItem*)firstChild(); if (item) { @@ -688,17 +692,17 @@ QPopupMenu * IMAPfolderItem::getContextMenu() } } return m; } void IMAPfolderItem::createNewFolder() { Newmdirdlg ndirdlg; - ndirdlg.showMaximized(); + //ndirdlg.showMaximized(); if ( ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); bool makesubs = ndirdlg.subpossible(); QString delemiter = Delemiter(); if (imap->wrapper->createMbox(ndir,folder,delemiter,makesubs)) { imap->refreshFolders(true); @@ -864,17 +868,17 @@ QPopupMenu * MHviewItem::getContextMenu() m->insertItem(i18n("Move/Copie all mails"),3); } return m; } void MHviewItem::createFolder() { Newmdirdlg ndirdlg(0,0,true); - ndirdlg.showMaximized(); + //ndirdlg.showMaximized(); if ( ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); if (wrapper->createMbox(ndir)) { refresh(true); } } @@ -1016,17 +1020,17 @@ void MHfolderItem::downloadMails() AccountView*bl = mbox->accountView(); if (!bl) return; bl->downloadMails(folder,mbox->getWrapper()); } void MHfolderItem::createFolder() { Newmdirdlg ndirdlg(0,0,true); - ndirdlg.showMaximized(); + //ndirdlg.showMaximized(); if (ndirdlg.exec() ) { QString ndir = ndirdlg.Newdir(); if (mbox->getWrapper()->createMbox(ndir,folder)) { QListView*v=listView(); MHviewItem * box = mbox; /* be carefull - after that this object is destroyd so don't use |