diff options
| author | 2016-02-01 02:32:01 +0000 | |
|---|---|---|
| committer | 2016-02-02 16:25:16 +0000 | |
| commit | b3395ca9bfb1831e0595d8079ee943c2ad888416 (patch) | |
| tree | 5be843e644c9f78cb8362c0480e83d88b4c64d17 /src/modules/tip | |
| parent | RegistrationWizard: remove center formatting from dialog field entries (diff) | |
| download | KVIrc-b3395ca9bfb1831e0595d8079ee943c2ad888416.tar.gz KVIrc-b3395ca9bfb1831e0595d8079ee943c2ad888416.tar.bz2 KVIrc-b3395ca9bfb1831e0595d8079ee943c2ad888416.zip | |
libkvitip: remove tip center formatting; thats a nice tip dont use it.
Diffstat (limited to 'src/modules/tip')
| -rw-r--r-- | src/modules/tip/libkvitip.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/modules/tip/libkvitip.cpp b/src/modules/tip/libkvitip.cpp index 0a7b61366..ae7d8c851 100644 --- a/src/modules/tip/libkvitip.cpp +++ b/src/modules/tip/libkvitip.cpp @@ -67,9 +67,7 @@ TipFrame::~TipFrame() void TipFrame::setText(const QString &text) { - QString szText= "<center>"; - szText += text; - szText += "</center>"; + QString szText = text; m_pLabel2->setText(szText); update(); } @@ -230,11 +228,11 @@ void TipWindow::prevTip() @title: tip.open @short: - Opens the "did you know..." tip window + Opens the "Did You Know..." tip window @syntax: tip.open [tip_file_name:string] @description: - Opens the "did you know..." tip window.<br> + Opens the "Did You Know..." tip window.<br> If <tip_file_name> is specified, that tip is used instead of the default tips provided with KVIrc.<br> <tip_file_name> must be a file name with no path and must refer to a |
