summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-07-12 10:29:13 +0200
committerAndrea Diamantini <adjam7@gmail.com>2011-07-12 10:29:13 +0200
commite3ff157502fed8ee70a533a1ead8bc2fabddf2be (patch)
treef849dab4eb52cc9616db9809ddb5a922e7bc2593 /src
parentrekonq 0.7.56 (diff)
downloadrekonq-e3ff157502fed8ee70a533a1ead8bc2fabddf2be.tar.xz
Change KMessageWidget message type
As pointed out from someone, these are informational or warning messages.
Diffstat (limited to 'src')
-rw-r--r--src/messagebar.cpp2
-rw-r--r--src/previewselectorbar.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/messagebar.cpp b/src/messagebar.cpp
index 2fb349d2..4cf02734 100644
--- a/src/messagebar.cpp
+++ b/src/messagebar.cpp
@@ -44,7 +44,7 @@ MessageBar::MessageBar(const QString &message, QWidget *parent)
connect(this, SIGNAL(accepted()), this, SLOT(hideAndDelete()));
connect(this, SIGNAL(rejected()), this, SLOT(hideAndDelete()));
- setMessageType(KMessageWidget::Error);
+ setMessageType(KMessageWidget::Warning);
QSize sz = size();
sz.setWidth( qobject_cast<QWidget *>(parent)->size().width() );
diff --git a/src/previewselectorbar.cpp b/src/previewselectorbar.cpp
index 344a3dc9..23d5f9e5 100644
--- a/src/previewselectorbar.cpp
+++ b/src/previewselectorbar.cpp
@@ -54,7 +54,7 @@ PreviewSelectorBar::PreviewSelectorBar(int index, QWidget* parent)
, m_previewIndex(index)
, m_insertAction(0)
{
- setMessageType(KMessageWidget::Warning);
+ setMessageType(KMessageWidget::Information);
QSize sz = size();
sz.setWidth( qobject_cast<QWidget *>(parent)->size().width() );