// Copyright 2021 The Mumble Developers. All rights reserved. // Use of this source code is governed by a BSD-style license // that can be found in the LICENSE file at the root of the // Mumble source tree or at . #ifndef MUMBLE_QTUTILS_H_ #define MUMBLE_QTUTILS_H_ class QObject; /** * A deleter function to be used for QObjects that must not be deleted using * delete directly but rather by calling deleteLater() on them (and thus letting * Qt perform the actual deletion). * * This function is intended to be used in smart-pointers holding QObjects. */ void deleteQObject(QObject *object); #endif // MUMBLE_QTUTILS_H_