forked from Public-Mirror/Textractor
kill everything when mainwindow is closed
This commit is contained in:
parent
ee0a8c4887
commit
5caf42a6b1
@ -50,6 +50,11 @@ MainWindow::~MainWindow()
|
||||
Host::Close();
|
||||
}
|
||||
|
||||
void MainWindow::closeEvent(QCloseEvent*)
|
||||
{
|
||||
QCoreApplication::quit(); // Need to do this to kill any windows that might've been made by extensions
|
||||
}
|
||||
|
||||
void MainWindow::AddProcess(unsigned processId)
|
||||
{
|
||||
processCombo->addItem(QString::number(processId, 16).toUpper() + ": " + GetModuleName(processId));
|
||||
|
@ -50,6 +50,7 @@ private:
|
||||
DWORD GetSelectedProcessId();
|
||||
std::unordered_map<std::string, int64_t> GetMiscInfo(TextThread* thread);
|
||||
QVector<HookParam> GetAllHooks(DWORD processId);
|
||||
void closeEvent(QCloseEvent*);
|
||||
|
||||
Ui::MainWindow* ui;
|
||||
QSettings settings = QSettings("Textractor.ini", QSettings::IniFormat);
|
||||
|
Loading…
x
Reference in New Issue
Block a user