Changeset View
Changeset View
Standalone View
Standalone View
platform.cpp
Show All 40 Lines | 40 | Platform::Platform(QObject *parent) | |||
---|---|---|---|---|---|
41 | : QObject(parent) | 41 | : QObject(parent) | ||
42 | , m_eglDisplay(EGL_NO_DISPLAY) | 42 | , m_eglDisplay(EGL_NO_DISPLAY) | ||
43 | { | 43 | { | ||
44 | m_colorCorrect = new ColorCorrect::Manager(this); | 44 | m_colorCorrect = new ColorCorrect::Manager(this); | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | Platform::~Platform() | 47 | Platform::~Platform() | ||
48 | { | 48 | { | ||
49 | qDeleteAll(m_outputs); | ||||
49 | if (m_eglDisplay != EGL_NO_DISPLAY) { | 50 | if (m_eglDisplay != EGL_NO_DISPLAY) { | ||
50 | eglTerminate(m_eglDisplay); | 51 | eglTerminate(m_eglDisplay); | ||
51 | } | 52 | } | ||
52 | } | 53 | } | ||
53 | 54 | | |||
54 | QImage Platform::softwareCursor() const | 55 | QImage Platform::softwareCursor() const | ||
55 | { | 56 | { | ||
56 | return input()->pointer()->cursorImage(); | 57 | return input()->pointer()->cursorImage(); | ||
▲ Show 20 Lines • Show All 432 Lines • Show Last 20 Lines |