Changeset View
Changeset View
Standalone View
Standalone View
deleted.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | |||||
88 | void Deleted::discard() | 88 | void Deleted::discard() | ||
89 | { | 89 | { | ||
90 | delete_refcount = 0; | 90 | delete_refcount = 0; | ||
91 | delete this; | 91 | delete this; | ||
92 | } | 92 | } | ||
93 | 93 | | |||
94 | void Deleted::copyToDeleted(Toplevel* c) | 94 | void Deleted::copyToDeleted(Toplevel* c) | ||
95 | { | 95 | { | ||
96 | Q_ASSERT(dynamic_cast< Deleted* >(c) == NULL); | 96 | Q_ASSERT(dynamic_cast< Deleted* >(c) == nullptr); | ||
97 | Toplevel::copyToDeleted(c); | 97 | Toplevel::copyToDeleted(c); | ||
98 | desk = c->desktop(); | 98 | desk = c->desktop(); | ||
99 | m_desktops = c->desktops(); | 99 | m_desktops = c->desktops(); | ||
100 | activityList = c->activities(); | 100 | activityList = c->activities(); | ||
101 | contentsRect = QRect(c->clientPos(), c->clientSize()); | 101 | contentsRect = QRect(c->clientPos(), c->clientSize()); | ||
102 | m_contentPos = c->clientContentPos(); | 102 | m_contentPos = c->clientContentPos(); | ||
103 | transparent_rect = c->transparentRect(); | 103 | transparent_rect = c->transparentRect(); | ||
104 | m_layer = c->layer(); | 104 | m_layer = c->layer(); | ||
▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines |