diff options
| author | 2016-04-29 23:57:30 +0100 | |
|---|---|---|
| committer | 2016-04-29 23:57:48 +0100 | |
| commit | 690dd7a33ddc90678367d73adf313533536e10f2 (patch) | |
| tree | 2276fe7c384ebbc222b40a19c536d5c3c5606ce8 /src/modules/notifier/NotifierMessage.cpp | |
| parent | Add config for clang-format. (diff) | |
| download | KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.tar.gz KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.tar.bz2 KVIrc-690dd7a33ddc90678367d73adf313533536e10f2.zip | |
Apply clang-format
Diffstat (limited to 'src/modules/notifier/NotifierMessage.cpp')
| -rw-r--r-- | src/modules/notifier/NotifierMessage.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modules/notifier/NotifierMessage.cpp b/src/modules/notifier/NotifierMessage.cpp index 3456a3db6..8154c23ef 100644 --- a/src/modules/notifier/NotifierMessage.cpp +++ b/src/modules/notifier/NotifierMessage.cpp @@ -37,8 +37,8 @@ NotifierMessage::NotifierMessage(QPixmap * pPixmap, const QString & szText) m_pLabel0 = 0; m_pLabel1 = 0; - m_szText=szText; - m_pPixmap=pPixmap; + m_szText = szText; + m_pPixmap = pPixmap; //QByteArray utf8 = szText.toUtf8(); //if(utf8.data()) @@ -74,10 +74,12 @@ void NotifierMessage::updateGui() if(bShowImages) { m_pLabel0 = new QLabel(this); - m_pLabel0->setFixedSize(16,16); + m_pLabel0->setFixedSize(16, 16); if(m_pPixmap) m_pLabel0->setPixmap(*m_pPixmap); - } else { + } + else + { m_pLabel0 = 0; } @@ -92,7 +94,7 @@ void NotifierMessage::updateGui() if(bShowImages) { - m_pHBox->setStretch(1,99); + m_pHBox->setStretch(1, 99); m_pHBox->addWidget(m_pLabel0); } m_pHBox->addWidget(m_pLabel1); |
