summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libqtaux/qcolordialog.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/libqtaux/qcolordialog.cpp b/libqtaux/qcolordialog.cpp
index ccef0ad..830fef6 100644
--- a/libqtaux/qcolordialog.cpp
+++ b/libqtaux/qcolordialog.cpp
@@ -541,5 +541,5 @@ QRgb QColorDialog::customColor( int i )
#ifdef CHECK_RANGE
qWarning( "QColorDialog::customColor() index %d out of range", i );
-#endif
+#endif
i = 0;
}
@@ -556,5 +556,5 @@ void QColorDialog::setCustomColor( int i, QRgb c )
#ifdef CHECK_RANGE
qWarning( "QColorDialog::customColor() index %d out of range", i );
-#endif
+#endif
return;
}
@@ -1104,4 +1104,6 @@ void QColorShowLabel::mouseMoveEvent( QMouseEvent *e )
drg->dragCopy();
}
+#else
+ Q_UNUSED( e )
#endif
}
@@ -1630,3 +1632,3 @@ int QColorDialog::selectedAlpha() const
-#include "qcolordialog.moc" \ No newline at end of file
+#include "qcolordialog.moc"