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

List:       kde-commits
Subject:    [kexi] src/main: Fix 2 #warning errors for msvs (silent)
From:       Jaroslaw Staniek <null () kde ! org>
Date:       2018-08-02 9:27:33
Message-ID: E1fl9tN-00065t-Cb () code ! kde ! org
[Download RAW message or body]

Git commit 3be8a801bd6f0cca3e016770f50984045440355e by Jaroslaw Staniek.
Committed on 02/08/2018 at 09:27.
Pushed by staniek into branch 'master'.

Fix 2 #warning errors for msvs

GIT_SILENT

M  +9    -0    src/main/KexiMainWindow.cpp

https://commits.kde.org/kexi/3be8a801bd6f0cca3e016770f50984045440355e

diff --git a/src/main/KexiMainWindow.cpp b/src/main/KexiMainWindow.cpp
index 72653abd6..341217092 100644
--- a/src/main/KexiMainWindow.cpp
+++ b/src/main/KexiMainWindow.cpp
@@ -39,6 +39,7 @@
 #include "KexiObjectViewWidget.h"
 #include "KexiObjectViewTabWidget.h"
 #include <kexiutils/utils.h>
+#include <kexiutils_global.h>
 #include <KexiStyle.h>
 #include <kexiutils/KexiCloseButton.h>
 #include <kexiutils/KexiTester.h>
@@ -2226,7 +2227,11 @@ void KexiMainWindow::updateCustomPropertyPanelTabs(
            )
        )
     {
+#ifdef __GNUC__
 #warning TODO KexiMainWindow::updateCustomPropertyPanelTabs()
+#else
+#pragma WARNING(TODO KexiMainWindow::updateCustomPropertyPanelTabs())
+#endif
 #if 0
         if (d->partForPreviouslySetupPropertyPanelTabs) {
             //remember current page number for this part
@@ -2262,7 +2267,11 @@ void KexiMainWindow::updateCustomPropertyPanelTabs(
         d->objectViewWidget->propertyPane()->removeAllSections();
         curWindowPart->setupPropertyPane(d->objectViewWidget->propertyPane=
());
 =

+#ifdef __GNUC__
 #warning TODO KexiMainWindow::updateCustomPropertyPanelTabs()
+#else
+#pragma WARNING(TODO KexiMainWindow::updateCustomPropertyPanelTabs())
+#endif
 #if 0
         //restore current page number for this part
         if (d->recentlySelectedPropertyPanelPages.contains(curWindowPart))=
 {
[prev in list] [next in list] [prev in thread] [next in thread] 

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