summaryrefslogtreecommitdiffabout
path: root/kmicromail/accountview.cpp
Unidiff
Diffstat (limited to 'kmicromail/accountview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/accountview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kmicromail/accountview.cpp b/kmicromail/accountview.cpp
index c10d384..c9c4a0f 100644
--- a/kmicromail/accountview.cpp
+++ b/kmicromail/accountview.cpp
@@ -118,17 +118,22 @@ RecBodyP AccountView::fetchBody(const RecMailP&aMail)
118 QListViewItem*item = selectedItem (); 118 QListViewItem*item = selectedItem ();
119 if (!item) return new RecBody(); 119 if (!item) return new RecBody();
120 AccountViewItem *view = static_cast<AccountViewItem *>(item); 120 AccountViewItem *view = static_cast<AccountViewItem *>(item);
121 return view->fetchBody(aMail); 121 return view->fetchBody(aMail);
122} 122}
123 123
124void AccountView::setupFolderselect(Selectstore*sels) 124void AccountView::setupFolderselect(Selectstore*sels)
125{ 125{
126
127#ifndef DESKTOP_VERSION
126 sels->showMaximized(); 128 sels->showMaximized();
129#else
130 sels->show();
131#endif
127 QStringList sFolders; 132 QStringList sFolders;
128 unsigned int i = 0; 133 unsigned int i = 0;
129 for (i=0; i < mhAccounts.count();++i) 134 for (i=0; i < mhAccounts.count();++i)
130 { 135 {
131 mhAccounts[i]->refresh(false); 136 mhAccounts[i]->refresh(false);
132 sFolders = mhAccounts[i]->subFolders(); 137 sFolders = mhAccounts[i]->subFolders();
133 sels->addAccounts(mhAccounts[i]->getWrapper(),sFolders); 138 sels->addAccounts(mhAccounts[i]->getWrapper(),sFolders);
134 } 139 }