Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++
565 B
Raw Blame
/* This file is part of the KDE project
 * SPDX-FileCopyrightText: 2009 Thomas Zander <[email protected]>
 *
 * SPDX-License-Identifier: LGPL-2.0-or-later
 */

#include "KoInsets.h"

#ifndef QT_NO_DEBUG_STREAM
QDebug operator<<(QDebug debug, const KoInsets &insets)
{
#ifndef NDEBUG
    debug.nospace() << "KoInsets [top=" << insets.top;
    debug.nospace() << ", left=" << insets.left;
    debug.nospace() << ", bottom=" << insets.bottom;
    debug.nospace() << ", right=" << insets.right << ']';
#else
    Q_UNUSED(insets);
#endif
    return debug.space();
}
#endif