Changeset View
Changeset View
Standalone View
Standalone View
src/svnqt/path.cpp
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | |||||
51 | 51 | | |||
52 | namespace svn | 52 | namespace svn | ||
53 | { | 53 | { | ||
54 | Path::Path(const QString &path) | 54 | Path::Path(const QString &path) | ||
55 | { | 55 | { | ||
56 | init(path); | 56 | init(path); | ||
57 | } | 57 | } | ||
58 | 58 | | |||
59 | Path::Path(const QUrl &path) | | |||
60 | { | | |||
61 | init(path.toString()); | | |||
62 | } | | |||
63 | | ||||
64 | void | 59 | void | ||
65 | Path::init(const QString &path) | 60 | Path::init(const QString &path) | ||
66 | { | 61 | { | ||
67 | Pool pool; | 62 | Pool pool; | ||
68 | 63 | | |||
69 | if (path.isEmpty()) { | 64 | if (path.isEmpty()) { | ||
70 | m_path.clear(); | 65 | m_path.clear(); | ||
71 | } else { | 66 | } else { | ||
▲ Show 20 Lines • Show All 125 Lines • Show Last 20 Lines |