[rkward] rkward/windows: Fix compilation with MSVC

Thomas Friedrichsmeier null at kde.org
Mon Apr 6 20:08:01 BST 2020


Git commit aea491ca914037ee37c4e011c7ab895992e823ac by Thomas Friedrichsmeier.
Committed on 06/04/2020 at 19:07.
Pushed by tfry into branch 'master'.

Fix compilation with MSVC

M  +2    -0    rkward/windows/rkhtmlwindow.cpp

https://commits.kde.org/rkward/aea491ca914037ee37c4e011c7ab895992e823ac

diff --git a/rkward/windows/rkhtmlwindow.cpp b/rkward/windows/rkhtmlwindow.cpp
index 71bce4d3..0e244240 100644
--- a/rkward/windows/rkhtmlwindow.cpp
+++ b/rkward/windows/rkhtmlwindow.cpp
@@ -126,7 +126,9 @@ public:
 #else
 	bool supportsContentType (const QString &name) {
 		if (name.startsWith("text")) return true;
+#ifdef __GNUC__
 #warning TODO
+#endif
 		return false;
 	}
 	void downloadUrl (const QUrl& url) {



More information about the rkward-tracker mailing list