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

List:       kde-commits
Subject:    extragear/sysadmin/kiosktool
From:       Andrew Coles <andrew_coles () yahoo ! co ! uk>
Date:       2009-03-24 14:02:20
Message-ID: 1237903340.646997.21568.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 943765 by coles:

Fixed unused parameter compiler warnings if PORTED not defined.



 M  +22 -4     componentPage.cpp  


--- trunk/extragear/sysadmin/kiosktool/componentPage.cpp #943764:943765
@@ -218,9 +218,10 @@
       KToolInvocation::kdeinitExec(m_data->setup.exec);
 }
 
+#ifdef PORTED
+
 void ComponentPage::slotSetupAppRegistered( const QByteArray &appid)
 {
-#ifdef PORTED    
    QByteArray dcopApp = m_data->setup.dcop.utf8();
    if (dcopApp == appid)
    {
@@ -228,9 +229,16 @@
       if (m_component)
          m_component->slotSetupStarted();
    }
-#endif
 }
 
+#else
+
+void ComponentPage::slotSetupAppRegistered( const QByteArray &)
+{
+}
+
+#endif
+
 void ComponentPage::slotPreview()
 {
    if (m_process)
@@ -287,9 +295,10 @@
    }
 }
 
+#ifdef PORTED
+
 void ComponentPage::slotPreviewAppRegistered( const QByteArray &appid)
 {
-#ifdef PORTED
    QByteArray dcopApp = m_data->preview.dcop.utf8();
    if (dcopApp == appid)
    {
@@ -297,9 +306,18 @@
       if (m_component)
          m_component->slotPreviewStarted();
    }
-#endif
 }
 
+#else
+
+void ComponentPage::slotPreviewAppRegistered( const QByteArray &)
+{
+}
+
+#endif
+
+
+
 void ComponentPage::slotPreviewDone()
 {
 #ifdef PORTED
[prev in list] [next in list] [prev in thread] [next in thread] 

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