try to fix window not responding on windows

This commit is contained in:
Niklas 2019-05-19 20:43:36 +02:00
parent 880a6e7583
commit aeca0a5ab1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,6 @@
#include <io/ioutils.hpp>
#include <logs/screenshotfile.h>
#include <utils.hpp>
#include <QTextCodec>
#include "mainwindow.hpp"

View File

@ -5,6 +5,7 @@
#include "ui_mainwindow.h"
#include "utils.hpp"
#include <QApplication>
#include <QCoreApplication>
#include <QClipboard>
#include <QMessageBox>
#include <QShortcut>
@ -204,7 +205,7 @@ void MainWindow::closeEvent(QCloseEvent *event) {
}
void MainWindow::quit() {
QCoreApplication::quit();
QApplication::quit();
}
void MainWindow::toggleVisible() {