Fix windows build

This commit is contained in:
lupoDharkael
2018-04-29 12:55:16 +02:00
parent 28940f9e75
commit 801fb7ebf0
4 changed files with 7 additions and 2 deletions

View File

@@ -50,7 +50,9 @@ Controller::Controller() : m_captureWindow(nullptr) {
GlobalShortcutFilter *nativeFilter = new GlobalShortcutFilter(this);
qApp->installNativeEventFilter(nativeFilter);
connect(nativeFilter, &GlobalShortcutFilter::printPressed,
this, [this](){ this->createVisualCapture(); });
this, [this](){
this->requestCapture(CaptureRequest(CaptureRequest::GRAPHICAL_MODE));
});
#endif
QString StyleSheet = CaptureButton::globalStyleSheet();