aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/notifier
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-06-01 18:37:48 +0000
committerGravatar Szymon Tomasz Stefanek2010-06-01 18:37:48 +0000
commit3f235b42118f3e00293635bd5cb3ff2eedf631e2 (patch)
tree034c11e68bd89ec0bf3553a50055994325b3449e /src/modules/notifier
parentFix link extraction (diff)
downloadKVIrc-3f235b42118f3e00293635bd5cb3ff2eedf631e2.tar.gz
KVIrc-3f235b42118f3e00293635bd5cb3ff2eedf631e2.tar.bz2
KVIrc-3f235b42118f3e00293635bd5cb3ff2eedf631e2.zip
A couple of fixes for MacOSX
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4412 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/notifier')
-rw-r--r--src/modules/notifier/notifiermessage.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/modules/notifier/notifiermessage.cpp b/src/modules/notifier/notifiermessage.cpp
index 04d862ac2..eac356edc 100644
--- a/src/modules/notifier/notifiermessage.cpp
+++ b/src/modules/notifier/notifiermessage.cpp
@@ -38,9 +38,15 @@ KviNotifierMessage::KviNotifierMessage(QPixmap * pPixmap, const QString &szText)
m_szText=szText;
m_pPixmap=pPixmap;
+ m_pHBox = new QHBoxLayout(this);
+ m_pHBox->setSpacing(SPACING);
+ m_pHBox->setMargin(SPACING);
+
+ //qDebug("NOTIFIER TEXT MESSAGE: \n%s\n",szText.toUtf8().data());
+
if(bShowImages)
{
- m_pLabel0 = new QLabel();
+ m_pLabel0 = new QLabel(this);
m_pLabel0->setFixedSize(16,16);
if(m_pPixmap)
m_pLabel0->setPixmap(*m_pPixmap);
@@ -49,15 +55,11 @@ KviNotifierMessage::KviNotifierMessage(QPixmap * pPixmap, const QString &szText)
}
- m_pLabel1 = new QLabel();
+ m_pLabel1 = new QLabel(this);
m_pLabel1->setTextFormat(Qt::RichText);
m_pLabel1->setText(KviHtmlGenerator::convertToHtml(m_szText));
m_pLabel1->setWordWrap(true);
- m_pHBox = new QHBoxLayout(this);
- m_pHBox->setSpacing(SPACING);
- m_pHBox->setMargin(SPACING);
-
if(bShowImages)
{
m_pHBox->setStretch(1,99);