mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-02 08:37:38 +00:00
Add basic code for the Pin tool
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "launcher/applaunchertool.h"
|
||||
#include "blur/blurtool.h"
|
||||
#include "redo/redotool.h"
|
||||
#include "pin/pintool.h"
|
||||
|
||||
ToolFactory::ToolFactory(QObject *parent) : QObject(parent) {
|
||||
|
||||
@@ -95,6 +96,9 @@ CaptureTool* ToolFactory::CreateTool(
|
||||
case CaptureButton::TYPE_BLUR:
|
||||
tool = new BlurTool(parent);
|
||||
break;
|
||||
case CaptureButton::TYPE_PIN:
|
||||
tool = new PinTool(parent);
|
||||
break;
|
||||
default:
|
||||
tool = nullptr;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user