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

List:       kde-commits
Subject:    [kipi-plugins] common/libkipiplugins/tools: use Q_OS_* instead of Q_WS_*
From:       Pino Toscano <pino () kde ! org>
Date:       2013-12-26 15:31:34
Message-ID: E1VwCuM-0000um-2d () scm ! kde ! org
[Download RAW message or body]

Git commit c6b59a61d0248d484f9845bd062028ffdf9aab1f by Pino Toscano.
Committed on 26/12/2013 at 15:30.
Pushed by pino into branch 'master'.

use Q_OS_* instead of Q_WS_*

clear up the confusion between window system and the actual OS

M  +2    -2    common/libkipiplugins/tools/kpbinaryiface.cpp

http://commits.kde.org/kipi-plugins/c6b59a61d0248d484f9845bd062028ffdf9aab1f

diff --git a/common/libkipiplugins/tools/kpbinaryiface.cpp \
b/common/libkipiplugins/tools/kpbinaryiface.cpp index 5d49e0b..f27988a 100644
--- a/common/libkipiplugins/tools/kpbinaryiface.cpp
+++ b/common/libkipiplugins/tools/kpbinaryiface.cpp
@@ -135,9 +135,9 @@ void KPBinaryIface::slotNavigateAndCheck()
     }
     else
     {
-#if defined Q_WS_MAC
+#if defined Q_OS_MAC
         start = KUrl(QString("/Applications/"));
-#elif defined Q_WS_WIN
+#elif defined Q_OS_WIN
         start = KUrl(QString("C:/Program Files/"));
 #else
         start = KUrl(QString("/usr/bin/"));


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

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