summaryrefslogtreecommitdiffstats
path: root/src/gui/graphicsview/qgraph_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/graphicsview/qgraph_p.h')
-rw-r--r--src/gui/graphicsview/qgraph_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/graphicsview/qgraph_p.h b/src/gui/graphicsview/qgraph_p.h
index 796d645..895ee0c 100644
--- a/src/gui/graphicsview/qgraph_p.h
+++ b/src/gui/graphicsview/qgraph_p.h
@@ -155,8 +155,7 @@ public:
#endif
if (edgeData(first, second)) {
#ifdef QT_DEBUG
- qWarning(qPrintable(QString::fromAscii("%1-%2 already has an edge")
- .arg(first->toString()).arg(second->toString())));
+ qWarning("%s-%s already has an edge", qPrintable(first->toString()), qPrintable(second->toString()));
#endif
}
createDirectedEdge(first, second, data);