Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/shell/settings/templatepage.cpp
Show First 20 Lines • Show All 129 Lines • ▼ Show 20 Line(s) | 115 | { | |||
---|---|---|---|---|---|
130 | } | 130 | } | ||
131 | else | 131 | else | ||
132 | { | 132 | { | ||
133 | archive.reset(new KTar(archiveName)); | 133 | archive.reset(new KTar(archiveName)); | ||
134 | } | 134 | } | ||
135 | 135 | | |||
136 | archive->open(QIODevice::ReadOnly); | 136 | archive->open(QIODevice::ReadOnly); | ||
137 | 137 | | |||
138 | const QString destination = QFileDialog::getExistingDirectory() + '/' + info.baseName(); | 138 | const QString destination = QFileDialog::getExistingDirectory() + QLatin1Char('/') + info.baseName(); | ||
139 | archive->directory()->copyTo(destination); | 139 | archive->directory()->copyTo(destination); | ||
140 | } | 140 | } |