author | zecke <zecke> | 2004-09-10 11:07:29 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-09-10 11:07:29 (UTC) |
commit | 0c2d61cebde30e1a6eea86beb5b28a3600de0f75 (patch) (unidiff) | |
tree | 1b1e4b2fc09f92c08254a285d3a89d82b9174cb9 | |
parent | 00b7879d0d886b642b1f1102e3a811e67f928df7 (diff) | |
download | opie-0c2d61cebde30e1a6eea86beb5b28a3600de0f75.zip opie-0c2d61cebde30e1a6eea86beb5b28a3600de0f75.tar.gz opie-0c2d61cebde30e1a6eea86beb5b28a3600de0f75.tar.bz2 |
No unused parameters, added a newline at the end
-rw-r--r-- | libqtaux/qcolordialog.cpp | 8 |
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 | |||
@@ -540,7 +540,7 @@ QRgb QColorDialog::customColor( int i ) | |||
540 | if ( i < 0 || i >= customCount() ) { | 540 | if ( i < 0 || i >= customCount() ) { |
541 | #ifdef CHECK_RANGE | 541 | #ifdef CHECK_RANGE |
542 | qWarning( "QColorDialog::customColor() index %d out of range", i ); | 542 | qWarning( "QColorDialog::customColor() index %d out of range", i ); |
543 | #endif | 543 | #endif |
544 | i = 0; | 544 | i = 0; |
545 | } | 545 | } |
546 | return cusrgb[i]; | 546 | return cusrgb[i]; |
@@ -555,7 +555,7 @@ void QColorDialog::setCustomColor( int i, QRgb c ) | |||
555 | if ( i < 0 || i >= customCount() ) { | 555 | if ( i < 0 || i >= customCount() ) { |
556 | #ifdef CHECK_RANGE | 556 | #ifdef CHECK_RANGE |
557 | qWarning( "QColorDialog::customColor() index %d out of range", i ); | 557 | qWarning( "QColorDialog::customColor() index %d out of range", i ); |
558 | #endif | 558 | #endif |
559 | return; | 559 | return; |
560 | } | 560 | } |
561 | cusrgb[i] = c; | 561 | cusrgb[i] = c; |
@@ -1103,6 +1103,8 @@ void QColorShowLabel::mouseMoveEvent( QMouseEvent *e ) | |||
1103 | mousePressed = FALSE; | 1103 | mousePressed = FALSE; |
1104 | drg->dragCopy(); | 1104 | drg->dragCopy(); |
1105 | } | 1105 | } |
1106 | #else | ||
1107 | Q_UNUSED( e ) | ||
1106 | #endif | 1108 | #endif |
1107 | } | 1109 | } |
1108 | 1110 | ||
@@ -1629,4 +1631,4 @@ int QColorDialog::selectedAlpha() const | |||
1629 | } | 1631 | } |
1630 | 1632 | ||
1631 | 1633 | ||
1632 | #include "qcolordialog.moc" \ No newline at end of file | 1634 | #include "qcolordialog.moc" |