Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 67cc69ce authored by Boudewijn Rempt's avatar Boudewijn Rempt

Fix debug build temporarily

CCMAIL:tusooa@vista.aero
parent 9d5c4b09
......@@ -799,13 +799,13 @@ void KoPathTool::keyPressEvent(QKeyEvent *event)
} else {
switch (event->key()) {
#ifndef NDEBUG
case Qt::Key_D:
if (m_pointSelection.objectCount() == 1) {
QList<KoPathPointData> selectedPoints = m_pointSelection.selectedPointsData();
KoPathShapePrivate *p = static_cast<KoPathShapePrivate*>(selectedPoints[0].pathShape->priv());
p->debugPath();
}
break;
// case Qt::Key_D:
// if (m_pointSelection.objectCount() == 1) {
// QList<KoPathPointData> selectedPoints = m_pointSelection.selectedPointsData();
// KoPathShapePrivate *p = static_cast<KoPathShapePrivate*>(selectedPoints[0].pathShape->priv());
// p->debugPath();
// }
// break;
#endif
case Qt::Key_B:
if (m_pointSelection.size() == 1)
......
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