Add local history for last screenshots

This commit is contained in:
Yuriy Puchkov
2020-07-21 17:06:04 +03:00
parent 415711d975
commit 63e2910b8e
4 changed files with 4 additions and 9 deletions

View File

@@ -19,7 +19,6 @@
#include "src/core/controller.h"
#include "src/widgets/historywidget.h"
#include <qt_windows.h>
#include <QDebug>
GlobalShortcutFilter::GlobalShortcutFilter(QObject *parent) :
QObject(parent)
@@ -51,7 +50,6 @@ bool GlobalShortcutFilter::nativeEventFilter(
// Show screenshots history
if(VK_SNAPSHOT == keycode && MOD_SHIFT == modifiers) {
qDebug() << "Show screenshots history";
HistoryWidget *pHistory = new HistoryWidget();
pHistory->show();
}