Refactor CaptureTool::pressed and derivatives
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
@@ -52,7 +52,7 @@ CaptureTool* SizeDecreaseTool::copy(QObject* parent)
|
||||
return new SizeDecreaseTool(parent);
|
||||
}
|
||||
|
||||
void SizeDecreaseTool::pressed(const CaptureContext& context)
|
||||
void SizeDecreaseTool::pressed(CaptureContext& context)
|
||||
{
|
||||
Q_UNUSED(context)
|
||||
emit requestAction(REQ_DECREASE_TOOL_SIZE);
|
||||
|
||||
@@ -37,5 +37,5 @@ protected:
|
||||
CaptureTool::Type type() const override;
|
||||
|
||||
public slots:
|
||||
void pressed(const CaptureContext& context) override;
|
||||
void pressed(CaptureContext& context) override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user