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 <io/ioutils.hpp>
|
||||||
#include <logs/screenshotfile.h>
|
#include <logs/screenshotfile.h>
|
||||||
#include <utils.hpp>
|
#include <utils.hpp>
|
||||||
#include <QTextCodec>
|
|
||||||
|
|
||||||
#include "mainwindow.hpp"
|
#include "mainwindow.hpp"
|
||||||
|
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "utils.hpp"
|
#include "utils.hpp"
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
#include <QCoreApplication>
|
||||||
#include <QClipboard>
|
#include <QClipboard>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QShortcut>
|
#include <QShortcut>
|
||||||
@ -204,7 +205,7 @@ void MainWindow::closeEvent(QCloseEvent *event) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::quit() {
|
void MainWindow::quit() {
|
||||||
QCoreApplication::quit();
|
QApplication::quit();
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::toggleVisible() {
|
void MainWindow::toggleVisible() {
|
||||||
|
Loading…
Reference in New Issue
Block a user