mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05:00
added missing debug ifdef
This commit is contained in:
parent
4420575a9a
commit
388140e263
@ -96,14 +96,18 @@ void RSPermissionMatrixWidget::updateDisplay()
|
||||
|
||||
void RSPermissionMatrixWidget::mousePressEvent(QMouseEvent *e)
|
||||
{
|
||||
#ifdef DEBUG_PERMISSION_MATRIX
|
||||
std::cerr << "mouse pressed at x=" << e->x() << ", y=" << e->y() << std::endl;
|
||||
#endif
|
||||
|
||||
uint32_t service_id ;
|
||||
RsPeerId peer_id ;
|
||||
|
||||
if(computeServiceAndPeer(e->x(),e->y(),service_id,peer_id))
|
||||
{
|
||||
#ifdef DEBUG_PERMISSION_MATRIX
|
||||
std::cerr << "Peer id: " << peer_id << ", service: " << service_id << std::endl;
|
||||
#endif
|
||||
|
||||
// Make sure the service is not globally disabled
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user