diff options
author | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-06-22 08:46:05 (GMT) |
---|---|---|
committer | Miikka Heikkinen <miikka.heikkinen@digia.com> | 2009-06-22 08:46:05 (GMT) |
commit | 342171da548c80f59aa459aad68700890c6e0283 (patch) | |
tree | 6b0e51f1d4349cbae95a306e1c8fbb942fa0ffa8 /demos | |
parent | 8acac3aba4a04f1f8f502190a445093af15cd563 (diff) | |
download | Qt-342171da548c80f59aa459aad68700890c6e0283.zip Qt-342171da548c80f59aa459aad68700890c6e0283.tar.gz Qt-342171da548c80f59aa459aad68700890c6e0283.tar.bz2 |
Fixed a typo in a desktopservices demo messagebox.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/embedded/desktopservices/linktab.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/demos/embedded/desktopservices/linktab.cpp b/demos/embedded/desktopservices/linktab.cpp index 58d1cc6..32411fe 100644 --- a/demos/embedded/desktopservices/linktab.cpp +++ b/demos/embedded/desktopservices/linktab.cpp @@ -49,19 +49,19 @@ // CLASS HEADER #include "linktab.h" -LinkTab::LinkTab(QWidget *parent) : +LinkTab::LinkTab(QWidget *parent) : ContentTab(parent) -{ +{ } - -LinkTab::~LinkTab() + +LinkTab::~LinkTab() { } void LinkTab::populateListWidget() { m_WebItem = new QListWidgetItem(QIcon(":/resources/browser.png"), tr("Launch Browser"), this); - m_MailToItem = new QListWidgetItem(QIcon(":/resources/message.png"), tr("New e-mail"), this); + m_MailToItem = new QListWidgetItem(QIcon(":/resources/message.png"), tr("New e-mail"), this); } QUrl LinkTab::itemUrl(QListWidgetItem *item) @@ -78,8 +78,8 @@ QUrl LinkTab::itemUrl(QListWidgetItem *item) } void LinkTab::handleErrorInOpen(QListWidgetItem *item) { - if(m_MailToItem == item) { - QMessageBox::warning( this, tr("Operation Failed"), tr("Please check that you have\ne-mail accunt defined"), QMessageBox::Close); + if(m_MailToItem == item) { + QMessageBox::warning( this, tr("Operation Failed"), tr("Please check that you have\ne-mail account defined."), QMessageBox::Close); } else { ContentTab::handleErrorInOpen(item); } |