| 109 | } |
| 110 | |
| 111 | void Window::unref() |
| 112 | { |
| 113 | Q_ASSERT(m_refCount > 0); |
| 114 | --m_refCount; |
| 115 | if (m_refCount) { |
| 116 | return; |
| 117 | } |
| 118 | if (m_deleted) { |
| 119 | workspace()->removeDeleted(this); |
| 120 | } |
| 121 | delete this; |
| 122 | } |
| 123 | |
| 124 | QDebug operator<<(QDebug debug, const Window *window) |
| 125 | { |