diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 15:43:43 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-04-09 15:43:43 +0200 |
commit | bad8dd9dd09fe185e9f15788438f30e442123a7c (patch) | |
tree | 130d4e450859b02d05fa9f33c2ee0c1812ac63b6 /kbstateapplet | |
parent | eb90cb32db0072c1cb9f2e1da3bbb5e71e47a8fd (diff) | |
download | tdeaccessibility-bad8dd9dd09fe185e9f15788438f30e442123a7c.tar.gz tdeaccessibility-bad8dd9dd09fe185e9f15788438f30e442123a7c.zip |
Cleanup TDELocale warnings in kbstate applet
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kbstateapplet')
-rw-r--r-- | kbstateapplet/kbstate.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kbstateapplet/kbstate.cpp b/kbstateapplet/kbstate.cpp index 9a35c0d..e0bf552 100644 --- a/kbstateapplet/kbstate.cpp +++ b/kbstateapplet/kbstate.cpp @@ -824,8 +824,8 @@ void KeyIcon::drawButton (TQPainter *p) { black = TDEGlobalSettings::textColor(); } - TQString text = i18n(modifierKeys[keyId].text); - if (!text.isEmpty() && !text.isNull()) { + if (strcmp(modifierKeys[keyId].text, "")) { + TQString text = i18n(modifierKeys[keyId].text); TQFont font = TDEGlobalSettings::generalFont(); font.setWeight(TQFont::Black); TQFontMetrics metrics(font); |