mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-17 11:24:27 +01:00
Qt: Clean up messy code.
This commit is contained in:
1 parent
7adb819a41
commit
47f3e700c4
21 files changed
+23
-257
No files matched your search
@@ -1,6 +1,5 @@
|
||||
#include "debugger_memory.h"
|
||||
#include "ui_debugger_memory.h"
|
||||
#include "EmuThread.h"
|
||||
#include "Core/Debugger/SymbolMap.h"
|
||||
#include <QTimer>
|
||||
|
||||
@@ -22,22 +21,6 @@ Debugger_Memory::~Debugger_Memory()
|
||||
delete ui;
|
||||
}
|
||||
|
||||
|
||||
void Debugger_Memory::showEvent(QShowEvent *)
|
||||
{
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
// Hack to remove the X11 crash with threaded opengl when opening the first dialog
|
||||
EmuThread_LockDraw(true);
|
||||
QTimer::singleShot(100, this, SLOT(releaseLock()));
|
||||
#endif
|
||||
}
|
||||
|
||||
void Debugger_Memory::releaseLock()
|
||||
{
|
||||
EmuThread_LockDraw(false);
|
||||
}
|
||||
|
||||
void Debugger_Memory::Update()
|
||||
{
|
||||
ui->memView->redraw();
|
||||
|
||||
Reference in new issue
Block a user