[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [simon/mac] simonlib/simoncontextdetection: Removing unnecessary #ifdef
From:       Peter Grasch <me () bedahr ! org>
Date:       2014-03-31 19:09:26
Message-ID: E1WUhaI-000362-55 () scm ! kde ! org
[Download RAW message or body]

Git commit e5760475cdfd3cbb8b788137420edbe185522557 by Peter Grasch.
Committed on 31/03/2014 at 18:55.
Pushed by grasch into branch 'mac'.

Removing unnecessary #ifdef

M  +0    -2    simonlib/simoncontextdetection/linuxprocessinfogathererhelper.cpp

http://commits.kde.org/simon/e5760475cdfd3cbb8b788137420edbe185522557

diff --git a/simonlib/simoncontextdetection/linuxprocessinfogathererhelper.cpp \
b/simonlib/simoncontextdetection/linuxprocessinfogathererhelper.cpp index 716fa53..31beb3c 100644
--- a/simonlib/simoncontextdetection/linuxprocessinfogathererhelper.cpp
+++ b/simonlib/simoncontextdetection/linuxprocessinfogathererhelper.cpp
@@ -33,7 +33,6 @@ LinuxProcessInfoGathererHelper::LinuxProcessInfoGathererHelper(QObject *parent)
 
 void LinuxProcessInfoGathererHelper::checkActiveWindow()
 {
-#ifndef Q_OS_WIN32
     //Get the active window info
     WId wid = KWindowSystem::activeWindow();
 
@@ -63,7 +62,6 @@ void LinuxProcessInfoGathererHelper::checkActiveWindow()
             emit activeWindowProcessChanged(processName);
         }
     }
-#endif
 }
 
 QString LinuxProcessInfoGathererHelper::getProcessName(int id)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic