summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-16 23:29:24 (UTC)
committer zautrix <zautrix>2004-09-16 23:29:24 (UTC)
commiteebe4409884ccd4dedb7cb697a800f74b33eb292 (patch) (side-by-side diff)
treecd0a235edcab08ee8512c738624dcebac9502749
parentaf411746b1480e7b331ea7d163f39d2507cf7264 (diff)
downloadkdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.zip
kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.tar.gz
kdepimpi-eebe4409884ccd4dedb7cb697a800f74b33eb292.tar.bz2
Fixes in ompi
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/abstractmail.cpp2
-rw-r--r--kmicromail/mainwindow.cpp2
-rw-r--r--kmicromail/opiemail.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kmicromail/libmailwrapper/abstractmail.cpp b/kmicromail/libmailwrapper/abstractmail.cpp
index 88545f8..673f288 100644
--- a/kmicromail/libmailwrapper/abstractmail.cpp
+++ b/kmicromail/libmailwrapper/abstractmail.cpp
@@ -181,6 +181,7 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe
QValueList<RecMailP> t;
listMessages(fromFolder->getName(),t,acc->getMaxMailSize() );
if ( t.count() == 0 ) {
+ qDebug("There are no new messages %s", fromFolder->getName().latin1());
Global::statusMessage(tr("There are no new messages"));
return;
}
@@ -209,6 +210,7 @@ void AbstractMail::downloadNewMails(const FolderP&fromFolder, AbstractMail*targe
}
++iii;
}
+ qDebug("Downloaded %d messages ",n.count() );
if ( n.count() == 0 ) {
Global::statusMessage(tr("There are no new messages"));
return;
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp
index 2a67e39..ddded2a 100644
--- a/kmicromail/mainwindow.cpp
+++ b/kmicromail/mainwindow.cpp
@@ -34,7 +34,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags )
addToolBar( toolBar );
toolBar->setHorizontalStretchable( true );
- QAction* getMail = new QAction( tr( "Get all new mails" ), SmallIcon("add"),
+ QAction* getMail = new QAction( tr( "Get all new mails" ), SmallIcon("enter"),
0, 0, this );
connect(getMail, SIGNAL( activated() ),
SLOT( slotGetAllMail() ) );
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp
index 3cbac8e..9a1a750 100644
--- a/kmicromail/opiemail.cpp
+++ b/kmicromail/opiemail.cpp
@@ -265,8 +265,6 @@ void OpieMail::slotGetMail()
{
QListViewItem * item = folderView->currentItem();
if ( ! item ) return;
- while ( item->parent () )
- item = item->parent ();
((AccountViewItem *)item)->contextMenuSelected( 101 );
}
void OpieMail::slotDeleteMail()