diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-01 23:30:53 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-12-01 23:30:53 -0600 |
commit | 6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3 (patch) | |
tree | 76f40d456bda2b31029c7fb0354cc22102f435d6 /src/kernel/qdragobject.cpp | |
parent | 4c50ba8f9e58dc81abaf1407cc8b203c28288370 (diff) | |
download | tqt3-6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3.tar.gz tqt3-6955a7ebe3c3a0ae2af416fc57ca1f3e9af0ecc3.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qdragobject.cpp')
-rw-r--r-- | src/kernel/qdragobject.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qdragobject.cpp b/src/kernel/qdragobject.cpp index 191b1c098..428000a36 100644 --- a/src/kernel/qdragobject.cpp +++ b/src/kernel/qdragobject.cpp @@ -1749,9 +1749,9 @@ TQColorDrag::TQColorDrag( TQWidget *dragsource, const char *name ) void TQColorDrag::setColor( const TQColor &col ) { - short r = (col.red() << 8) | col.red(); - short g = (col.green() << 8) | col.green(); - short b = (col.blue() << 8) | col.blue(); + unsigned short r = (col.red() << 8) | col.red(); + unsigned short g = (col.green() << 8) | col.green(); + unsigned short b = (col.blue() << 8) | col.blue(); // make sure we transmit data in network order r = htons(r); |