diff options
author | Slávek Banko <[email protected]> | 2019-03-31 16:13:43 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-03-31 16:33:53 +0200 |
commit | 789538268f2ee359423ee509e712ae18638ab3a9 (patch) | |
tree | 5a3753939eca71e30aecd0866012fd4be81a6d2d /style/lipstik.cpp | |
parent | 26ee115d569391bac2c6e2b4772ccb3de012ecdd (diff) | |
download | tde-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.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... |