summaryrefslogtreecommitdiffabout
path: root/kmicromail/accountitem.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/accountitem.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/accountitem.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/kmicromail/accountitem.cpp b/kmicromail/accountitem.cpp
index 7795055..49d86fc 100644
--- a/kmicromail/accountitem.cpp
+++ b/kmicromail/accountitem.cpp
@@ -299,13 +299,13 @@ QPopupMenu * NNTPviewItem::getContextMenu()
if (m)
{
if (!account->getOffline())
{
m->insertItem(QObject::tr("Disconnect",contextName),0);
m->insertItem(QObject::tr("Set offline",contextName),1);
- m->insertItem(QObject::tr("(Un-)Subscribe groups",contextName),2);
+ //m->insertItem(QObject::tr("(Un-)Subscribe groups",contextName),2);
}
else
{
m->insertItem(QObject::tr("Set online",contextName),1);
}
}
@@ -756,15 +756,14 @@ void IMAPfolderItem::contextMenuSelected(int id)
break;
case 4:
downloadMails();
break;
case GET_NEW_MAILS: // daunlood
{
- AccountView*bl = accountView();
- if (!bl) return;
- bl->downloadMailsInbox(getFolder(),imap->getWrapper());
+ if (!view) return;
+ view->downloadMailsInbox(getFolder(),imap->getWrapper());
}
break;
default:
break;
}
}