relative_path_from_symlink.diff
src/core/qgsproject.cpp (working copy) | ||
---|---|---|
38 | 38 |
#include <QDomNode> |
39 | 39 |
#include <QObject> |
40 | 40 |
#include <QTextStream> |
41 |
#include <QDir> |
|
41 | 42 | |
42 | 43 | |
43 | 44 |
static const char *const ident_ = "$Id$"; |
... | ... | |
1408 | 1409 |
return src; |
1409 | 1410 |
} |
1410 | 1411 | |
1411 |
QString srcPath = src; |
|
1412 |
QDir srcDir(src); |
|
1413 |
QString srcPath = srcDir.canonicalPath(); |
|
1412 | 1414 |
QString projPath = fileName(); |
1413 | 1415 | |
1414 | 1416 |
#if defined( Q_OS_WIN ) |