From bd3f7cb38491f4cbd0e93b2b744d664fa712f5aa Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 15 Aug 2018 15:18:28 +0900 Subject: Removed old strstream code and switch to sstream permanently. Inspired by similar work on tdeadmin. Signed-off-by: Michele Calgaro (cherry picked from commit d9b6e0bda45134852c38f60f25a5109923f8cd53) --- kgamma/kcmkgamma/CMakeLists.txt | 4 ---- kgamma/kcmkgamma/xvidextwrap.cpp | 7 +------ 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'kgamma/kcmkgamma') diff --git a/kgamma/kcmkgamma/CMakeLists.txt b/kgamma/kcmkgamma/CMakeLists.txt index 2f75f1dd..ade17bf5 100644 --- a/kgamma/kcmkgamma/CMakeLists.txt +++ b/kgamma/kcmkgamma/CMakeLists.txt @@ -30,10 +30,6 @@ install( FILES kgamma.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden ) #### kcmkgamma (module) ######################### -if( HAVE_SSTREAM ) - set_source_files_properties( xvidextwrap.cpp PROPERTIES COMPILE_FLAGS "-DHAVE_SSTREAM" ) -endif( ) - tde_add_kpart( kcm_kgamma AUTOMOC SOURCES xf86configpath.cpp xvidextwrap.cpp diff --git a/kgamma/kcmkgamma/xvidextwrap.cpp b/kgamma/kcmkgamma/xvidextwrap.cpp index f7bf532b..9cbbf250 100644 --- a/kgamma/kcmkgamma/xvidextwrap.cpp +++ b/kgamma/kcmkgamma/xvidextwrap.cpp @@ -28,15 +28,10 @@ #include #include +#include #include -#ifdef HAVE_SSTREAM -#include -#else -#include -#define istringstream istrstream -#endif #include -- cgit v1.2.1