Use KUrl instead of plain QString to enable the use of
full urls like nepomuksearch:/ . svn path=/trunk/KDE/kdelibs/; revision=1022157
This commit is contained in:
parent
d1c51d506d
commit
6dab30af74
@ -383,7 +383,8 @@ QStringList PackageStructure::mimetypes(const char *key) const
|
||||
|
||||
void PackageStructure::setPath(const QString &path)
|
||||
{
|
||||
QDir dir(path);
|
||||
KUrl url(path);
|
||||
QDir dir(url.path());
|
||||
QString basePath = dir.canonicalPath();
|
||||
bool valid = QFile::exists(basePath);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user