summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-15 18:55:54 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-15 18:55:54 (GMT)
commit372520c8313b2296896939f05d57a335031b0acc (patch)
tree1d9bc6f06cfdc2a8aafcecc16f15311d732c7dac /Swift/QtUI/QtUtilities.cpp
parent79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1 (diff)
downloadswift-contrib-372520c8313b2296896939f05d57a335031b0acc.zip
swift-contrib-372520c8313b2296896939f05d57a335031b0acc.tar.bz2
Avoid compilation warnings on non-unices.
Diffstat (limited to 'Swift/QtUI/QtUtilities.cpp')
-rw-r--r--Swift/QtUI/QtUtilities.cpp3
1 files changed, 3 insertions, 0 deletions
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
}