--- a/src/lddocument.h Sat Mar 24 13:03:02 2018 +0200 +++ b/src/lddocument.h Sat Mar 24 13:11:17 2018 +0200 @@ -121,7 +121,7 @@ void undo(); void vertexChanged (const Vertex& a, const Vertex& b); - static QString shortenName (QString a); // Turns a full path into a relative path + static QString shortenName(const class QFileInfo& path); // Turns a full path into a relative path protected: LDObject* withdrawAt(int position);