diff options
| author | 2016-05-15 05:05:09 +0100 | |
|---|---|---|
| committer | 2016-05-15 06:51:00 +0100 | |
| commit | a5d49b218098b99ade24d31ae262db6f5a52fba9 (patch) | |
| tree | 969c2cc48c87ebd88e084efe4d55e135b8a04ee5 | |
| parent | KvirIrcView_tool: cleanup unused code (diff) | |
| download | KVIrc-a5d49b218098b99ade24d31ae262db6f5a52fba9.tar.gz KVIrc-a5d49b218098b99ade24d31ae262db6f5a52fba9.tar.bz2 KVIrc-a5d49b218098b99ade24d31ae262db6f5a52fba9.zip | |
KviIrcToolbar: fix tooltip quirk while connecting
| -rw-r--r-- | src/kvirc/ui/KviIrcToolBar.cpp | 2 | ||||
| -rw-r--r-- | src/kvirc/ui/KviTopicWidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kvirc/ui/KviIrcToolBar.cpp b/src/kvirc/ui/KviIrcToolBar.cpp index e9a9654af..3d872ceaf 100644 --- a/src/kvirc/ui/KviIrcToolBar.cpp +++ b/src/kvirc/ui/KviIrcToolBar.cpp @@ -215,7 +215,7 @@ void KviIrcContextDisplay::tipRequest(KviDynamicToolTip * tip, const QPoint &) static QString b = "<b>"; static QString nb = "</b>"; static QString br = "<br>"; - static QString ths = "<html><body><table style=\"white-space: pre\">" START_TABLE_BOLD_ROW; + static QString ths = "<html><body><table width=\"100%\">" START_TABLE_BOLD_ROW; static QString the = "</table></body></html>"; END_TABLE_BOLD_ROW; if(c) diff --git a/src/kvirc/ui/KviTopicWidget.cpp b/src/kvirc/ui/KviTopicWidget.cpp index 1b002716f..944b8e85c 100644 --- a/src/kvirc/ui/KviTopicWidget.cpp +++ b/src/kvirc/ui/KviTopicWidget.cpp @@ -373,7 +373,7 @@ void KviTopicWidget::updateToolTip() //FIXME hardcoding styles sucks if(!m_szSetBy.isEmpty()) { - txt += "<tr><td style=\"white-space: pre bgcolor=\"#F0F0F0\"><font color=\"#000000\">"; + txt += "<tr><td style=\"white-space: pre\"; bgcolor=\"#F0F0F0\"><font color=\"#000000\">"; txt += __tr2qs("Set by") + ":" + " <b>" + m_szSetBy + "</b>"; txt += "</font></td></tr>"; |
