diff --git a/effects.cpp b/effects.cpp index b5f87402ce..1ad2975abd 100644 --- a/effects.cpp +++ b/effects.cpp @@ -804,7 +804,7 @@ xcb_atom_t EffectsHandlerImpl::announceSupportProperty(const QByteArray &propert return m_managedProperties.value(propertyName); } // get the atom for the propertyName - QScopedPointer atomReply(xcb_intern_atom_reply(connection(), + ScopedCPointer atomReply(xcb_intern_atom_reply(connection(), xcb_intern_atom_unchecked(connection(), false, propertyName.size(), propertyName.constData()), NULL)); if (atomReply.isNull()) {