diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-01-27 18:44:03 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-01-27 18:45:54 +0100 |
commit | 142bf3d8bc6569a432e065e851f026a46e9595ed (patch) | |
tree | 631d40828e2dcc63e0a12e5b9de1e8c0e3ebddf0 /common/resourceaccess.cpp | |
parent | 7137cb09a1f7a4d36e9865d9c9e1f54d59ddbc68 (diff) | |
download | sink-142bf3d8bc6569a432e065e851f026a46e9595ed.tar.gz sink-142bf3d8bc6569a432e065e851f026a46e9595ed.zip |
introduce a set of isInternalKey functions to hide this impl detail
Diffstat (limited to 'common/resourceaccess.cpp')
-rw-r--r-- | common/resourceaccess.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index b874679..fc63e7c 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp | |||
@@ -319,7 +319,7 @@ bool ResourceAccess::processMessageBuffer() | |||
319 | return false; | 319 | return false; |
320 | } | 320 | } |
321 | 321 | ||
322 | const uint messageId = *(int*)(d->partialMessageBuffer.constData()); | 322 | //const uint messageId = *(int*)(d->partialMessageBuffer.constData()); |
323 | const int commandId = *(int*)(d->partialMessageBuffer.constData() + sizeof(uint)); | 323 | const int commandId = *(int*)(d->partialMessageBuffer.constData() + sizeof(uint)); |
324 | const uint size = *(int*)(d->partialMessageBuffer.constData() + sizeof(int) + sizeof(uint)); | 324 | const uint size = *(int*)(d->partialMessageBuffer.constData() + sizeof(int) + sizeof(uint)); |
325 | 325 | ||