linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #05160
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2794: forgot one place for the partial list change
------------------------------------------------------------
revno: 2794
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sat 2012-01-07 19:30:38 +0100
message:
forgot one place for the partial list change
modified:
win32/QueueFrame.cpp
--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk
Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'win32/QueueFrame.cpp'
--- win32/QueueFrame.cpp 2012-01-07 18:16:19 +0000
+++ win32/QueueFrame.cpp 2012-01-07 18:30:38 +0000
@@ -661,7 +661,11 @@
void QueueFrame::handleGetList(const HintedUser& user) {
if(files->countSelected() == 1) {
try {
- QueueManager::getInstance()->addList(user, QueueItem::FLAG_CLIENT_VIEW);
+ int flags = QueueItem::FLAG_CLIENT_VIEW;
+ if(!user.user->isSet(User::NMDC)) {
+ flags |= QueueItem::FLAG_PARTIAL_LIST;
+ }
+ QueueManager::getInstance()->addList(user, flags);
} catch(const Exception&) {
}
}