From 372520c8313b2296896939f05d57a335031b0acc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Thu, 15 Apr 2010 20:55:54 +0200
Subject: Avoid compilation warnings on non-unices.


diff --git a/Swift/QtUI/QtUtilities.cpp b/Swift/QtUI/QtUtilities.cpp
index 11a3768..be9d179 100644
--- a/Swift/QtUI/QtUtilities.cpp
+++ b/Swift/QtUI/QtUtilities.cpp
@@ -24,6 +24,9 @@ void setX11Resource(QWidget* widget, const QString& c) {
 	hint.res_name = (QString(SWIFT_APPLICATION_NAME) + "-" + c).toUtf8().data();
 	hint.res_class = res_class;
 	XSetClassHint(widget->x11Info().display(), widget->winId(), &hint);
+#else
+	(void) widget;
+	(void) c;
 #endif
 }
 
-- 
cgit v0.10.2-6-g49f6