diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-03-31 16:13:43 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-03-31 16:13:43 +0200 |
commit | 283aebe0015ee5527dc322dde90237922b351109 (patch) | |
tree | adc0dff368389524483182f9bc36e145febed28f /style/lipstik.cpp | |
parent | e7c75e712197761e6b8ac4ab59b88ef9a1896eae (diff) | |
download | tde-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.cpp | 6 |
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... |