diff options
| author | 2009-11-15 18:51:02 +0000 | |
|---|---|---|
| committer | 2009-11-15 18:51:02 +0000 | |
| commit | 3eb14ba58899bccf8bb3d0c560ebcf4e3df37699 (patch) | |
| tree | 6612fd752e0ab53f083f5cd0f61221682ad5bbf8 /src/modules | |
| parent | fix for a crash on "disconnection while writing to socket" (diff) | |
| download | KVIrc-3eb14ba58899bccf8bb3d0c560ebcf4e3df37699.tar.gz KVIrc-3eb14ba58899bccf8bb3d0c560ebcf4e3df37699.tar.bz2 KVIrc-3eb14ba58899bccf8bb3d0c560ebcf4e3df37699.zip | |
fix for #611
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3614 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/url/libkviurl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/url/libkviurl.cpp b/src/modules/url/libkviurl.cpp index 9d161088a..962b889b1 100644 --- a/src/modules/url/libkviurl.cpp +++ b/src/modules/url/libkviurl.cpp @@ -39,6 +39,7 @@ #include "kvi_tal_popupmenu.h" #include "kvi_window.h" #include "kvi_options.h" +#include "kvi_out.h" #include <QFileDialog> #include <QMessageBox> @@ -367,6 +368,11 @@ void UrlDialog::addUrl(QString url, QString window, QString count, QString times UrlItem->setText(2, count); UrlItem->setText(3, timestamp); + UrlItem->setForeground(0, KVI_OPTION_MIRCCOLOR(KVI_OPTION_MSGTYPE(KVI_OUT_URL).fore())); + UrlItem->setForeground(1, KVI_OPTION_MIRCCOLOR(KVI_OPTION_MSGTYPE(KVI_OUT_NONE).fore())); + UrlItem->setForeground(2, KVI_OPTION_MIRCCOLOR(KVI_OPTION_MSGTYPE(KVI_OUT_NONE).fore())); + UrlItem->setForeground(3, KVI_OPTION_MIRCCOLOR(KVI_OPTION_MSGTYPE(KVI_OUT_NONE).fore())); + m_pUrlList->resizeColumnToContents(0); m_pUrlList->resizeColumnToContents(3); m_pUrlList->resizeColumnToContents(2); |
