summaryrefslogtreecommitdiffstats
path: root/style/lipstik.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-03-31 16:13:43 +0200
committerSlávek Banko <[email protected]>2019-03-31 16:33:53 +0200
commit789538268f2ee359423ee509e712ae18638ab3a9 (patch)
tree5a3753939eca71e30aecd0866012fd4be81a6d2d /style/lipstik.cpp
parent26ee115d569391bac2c6e2b4772ccb3de012ecdd (diff)
downloadtde-style-lipstik-789538268f2ee359423ee509e712ae18638ab3a9.tar.gz
tde-style-lipstik-789538268f2ee359423ee509e712ae18638ab3a9.zip
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 283aebe0015ee5527dc322dde90237922b351109)
Diffstat (limited to 'style/lipstik.cpp')
-rw-r--r--style/lipstik.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/style/lipstik.cpp b/style/lipstik.cpp
index d254735..e1a494a 100644
--- a/style/lipstik.cpp
+++ b/style/lipstik.cpp
@@ -220,11 +220,11 @@ LipstikStyle::LipstikStyle() : TDEStyle( AllowMenuTransparency, ThreeButtonScrol
settings.endGroup();
- if( !strcmp(_scrollBarStyle,"WindowsStyleScrollBar" ) )
+ if( !strcmp(_scrollBarStyle.latin1(), "WindowsStyleScrollBar" ) )
this->setScrollBarType(TDEStyle::WindowsStyleScrollBar);
- else if( !strcmp(_scrollBarStyle,"PlatinumStyleScrollBar" ) )
+ else if( !strcmp(_scrollBarStyle.latin1(), "PlatinumStyleScrollBar" ) )
this->setScrollBarType(TDEStyle::PlatinumStyleScrollBar);
- else if( !strcmp(_scrollBarStyle,"NextStyleScrollBar" ) )
+ else if( !strcmp(_scrollBarStyle.latin1(), "NextStyleScrollBar" ) )
this->setScrollBarType(TDEStyle::NextStyleScrollBar);
// setup pixmap cache...