diff --git a/src/libtomahawk/thirdparty/Qocoa/qsearchfield_mac.mm b/src/libtomahawk/thirdparty/Qocoa/qsearchfield_mac.mm index 7a87b5bf0..d6aa69dc2 100644 --- a/src/libtomahawk/thirdparty/Qocoa/qsearchfield_mac.mm +++ b/src/libtomahawk/thirdparty/Qocoa/qsearchfield_mac.mm @@ -24,6 +24,7 @@ THE SOFTWARE. #include "moc_qsearchfield.cpp" #include "qocoa_mac.h" +#include "utils/Logger.h" #import "Foundation/NSAutoreleasePool.h" #import "Foundation/NSNotification.h" @@ -104,12 +105,12 @@ static const unsigned short kKeycodeV = 9; if ([event type] == NSKeyDown && [event modifierFlags] & NSCommandKeyMask) { const unsigned short keyCode = [event keyCode]; - if (keyCode == kKeycodeA) // Cmd+a +/* if (keyCode == kKeycodeA) // Cmd+a { [self performSelector:@selector(selectText:)]; return YES; } - else if (keyCode == kKeycodeC) // Cmd+c + else*/ if (keyCode == kKeycodeC) // Cmd+c { QClipboard* clipboard = QApplication::clipboard(); clipboard->setText(toQString([self stringValue]));