diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-04-15 18:55:54 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-04-15 18:55:54 (GMT) |
commit | 372520c8313b2296896939f05d57a335031b0acc (patch) | |
tree | 1d9bc6f06cfdc2a8aafcecc16f15311d732c7dac /Swift | |
parent | 79d610f3c038acb65dfb2f5ccf59cd0b3ffeacf1 (diff) | |
download | swift-372520c8313b2296896939f05d57a335031b0acc.zip swift-372520c8313b2296896939f05d57a335031b0acc.tar.bz2 |
Avoid compilation warnings on non-unices.
Diffstat (limited to 'Swift')
-rw-r--r-- | Swift/QtUI/QtUtilities.cpp | 3 |
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 } |