try to fix window not responding on windows
This commit is contained in:
parent
880a6e7583
commit
aeca0a5ab1
@ -4,7 +4,6 @@
|
||||
#include <io/ioutils.hpp>
|
||||
#include <logs/screenshotfile.h>
|
||||
#include <utils.hpp>
|
||||
#include <QTextCodec>
|
||||
|
||||
#include "mainwindow.hpp"
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user