summaryrefslogtreecommitdiffabout
path: root/kmicromail/nntpgroupsdlg.cpp
Side-by-side diff
Diffstat (limited to 'kmicromail/nntpgroupsdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/nntpgroupsdlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/kmicromail/nntpgroupsdlg.cpp b/kmicromail/nntpgroupsdlg.cpp
index c94d9fa..a461bdf 100644
--- a/kmicromail/nntpgroupsdlg.cpp
+++ b/kmicromail/nntpgroupsdlg.cpp
@@ -1,29 +1,30 @@
#include "nntpgroupsdlg.h"
#include "nntpgroups.h"
+#include <klocale.h>
#include <libmailwrapper/settings.h>
#include <qlayout.h>
NNTPGroupsDlg::NNTPGroupsDlg(NNTPaccount *account,QWidget * parent, const char * name)
: QDialog(parent,name,true,WStyle_ContextHelp)
{
- setCaption(tr("Subscribed newsgroups"));
+ setCaption(i18n("Subscribed newsgroups"));
m_Account = account;
QVBoxLayout*dlglayout = new QVBoxLayout(this);
dlglayout->setSpacing(2);
dlglayout->setMargin(1);
groupsWidget = new NNTPGroups(account,this);
dlglayout->addWidget(groupsWidget);
}
NNTPGroupsDlg::~NNTPGroupsDlg()
{
}
void NNTPGroupsDlg::accept()
{
groupsWidget->storeValues();
m_Account->save();
QDialog::accept();
}