linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #05037
[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2751: capture by copy
------------------------------------------------------------
revno: 2751
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Sun 2011-12-25 19:51:17 +0100
message:
capture by copy
modified:
win32/SystemFrame.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/SystemFrame.cpp'
--- win32/SystemFrame.cpp 2011-12-25 18:48:06 +0000
+++ win32/SystemFrame.cpp 2011-12-25 18:51:17 +0000
@@ -123,8 +123,8 @@
if(File::getSize(path_a) != -1) {
ShellMenuPtr menu = addChild(ShellMenu::Seed());
menu->setTitle(escapeMenu(path), WinUtil::fileImages->getIcon(WinUtil::getFileIcon(path_a)));
- menu->appendItem(T_("&Open"), [this, &path_a] { openFile(path_a); }, dwt::IconPtr(), true, true);
- menu->appendItem(T_("Open &folder"), [&path] { WinUtil::openFolder(path); });
+ menu->appendItem(T_("&Open"), [this, path_a] { openFile(path_a); }, dwt::IconPtr(), true, true);
+ menu->appendItem(T_("Open &folder"), [path] { WinUtil::openFolder(path); });
menu->appendShellMenu(StringList(1, path_a));
menu->open(pt);
return true;