summaryrefslogtreecommitdiffstats
path: root/style/lipstik.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2019-03-31 16:13:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2019-03-31 16:13:43 +0200
commit283aebe0015ee5527dc322dde90237922b351109 (patch)
treeadc0dff368389524483182f9bc36e145febed28f /style/lipstik.cpp
parente7c75e712197761e6b8ac4ab59b88ef9a1896eae (diff)
downloadtde-style-lipstik-283aebe0015ee5527dc322dde90237922b351109.tar.gz
tde-style-lipstik-283aebe0015ee5527dc322dde90237922b351109.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 <slavek.banko@axis.cz>
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...