Advice from Adam taken in account.

This commit is contained in:
Hombre
2016-03-08 00:50:01 +01:00
parent 18764846da
commit 30b5949fd5
3 changed files with 48 additions and 44 deletions

View File

@@ -269,7 +269,7 @@ void CropWindow::buttonPress (int button, int type, int bstate, int x, int y)
{
bool needRedraw = true; // most common case ; not redrawing are exceptions
EditSubscriber *editSubscriber = iarea->getCurrSubscriber();
const auto editSubscriber = iarea->getCurrSubscriber();
iarea->grabFocus (this);