OSDN Git Service

generic: minor cleanups
authorIvailo Monev <xakepa10@gmail.com>
Tue, 16 Jun 2015 11:20:07 +0000 (14:20 +0300)
committerIvailo Monev <xakepa10@gmail.com>
Tue, 16 Jun 2015 11:20:07 +0000 (14:20 +0300)
drkonqi/main.cpp
kscreensaver/kdesavers/CMakeLists.txt

index d461049..f813f28 100644 (file)
@@ -43,8 +43,6 @@ static const char description[] = I18N_NOOP("The KDE Crash Handler gives the use
 
 int main(int argc, char* argv[])
 {
-// TODO - Investigate and fix this, or work around it as follows...
-// #if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
 // When starting Dr Konqi via kdeinit4, Apple OS X aborts us unconditionally for
 // using setgid/setuid, even if the privs were those of the logged-in user.
 // Drop privs.
index a5df8f6..84a24bc 100644 (file)
@@ -12,11 +12,7 @@ include_directories(${KDE4WORKSPACE_INCLUDE_DIR} ${OPENGL_INCLUDE_DIR})
 add_subdirectory( data )
 macro_optional_add_subdirectory( asciiquarium )
 
-if (WIN32)
-    SET(LIBMATH "")
-else (WIN32)
-    SET(LIBMATH "m")
-endif (WIN32)
+SET(LIBMATH "m")
 
 ########### next target ###############