[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    =?utf-8?q?=5Bknights/2=2E3=5D_src=3A_Remove_compiler_warning_abo?=
From:       Miha Čančula <miha.cancula () gmail ! com>
Date:       2011-03-09 19:37:43
Message-ID: 20110309193743.17404A60CB () git ! kde ! org
[Download RAW message or body]

Git commit 0992262aa87c385447d6210e44352aa5e4602dc1 by Miha Čančula.
Committed on 09/03/2011 at 20:30.
Pushed by mihac into branch '2.3'.

Remove compiler warning about unused variable.

M  +1    -0    src/board.cpp     

http://commits.kde.org/knights/0992262aa87c385447d6210e44352aa5e4602dc1

diff --git a/src/board.cpp b/src/board.cpp
index 3094e06..20ab5f9 100644
--- a/src/board.cpp
+++ b/src/board.cpp
@@ -279,6 +279,7 @@ void Board::mousePressEvent ( QGraphicsSceneMouseEvent* e )
 
 void Board::mouseReleaseEvent(QGraphicsSceneMouseEvent* e)
 {
+    Q_UNUSED(e);
     delete drag;
     draggedPiece = 0;
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic