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