Commit d740723b authored by Boudewijn Rempt's avatar Boudewijn Rempt

Revert "Add a method to dump a paint device to disk"

This reverts commit a5edc825.

I didn't know and couln't find KIS_DUMP_DEVICE_2 ...
parent 95e1a51d
......@@ -2075,17 +2075,6 @@ KisPaintDeviceFramesInterface* KisPaintDevice::framesInterface()
return m_d->framesInterface.data();
}
void KisPaintDevice::debugPaintDevice(const QString &basename) const
{
static int i = 0;
QString filename = QString ("%1_%2.png").arg(QString::number(i), 6, QChar('0')).arg(basename);
QImage image = convertToQImage(0);
image.save(filename);
i++;
}
/******************************************************************/
/* KisPaintDeviceFramesInterface */
/******************************************************************/
......
......@@ -742,12 +742,6 @@ public:
*/
KisPaintDeviceFramesInterface* framesInterface();
/**
* @brief debugPaintDevice save the current paint device to a numbered PNG image
* @param basename the basename for the file.
*/
void debugPaintDevice(const QString &basename) const;
public:
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment