Skip to content

Commit

Permalink
Use dir.filePath() for generating pathnames
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Wachter committed May 27, 2013
1 parent d896608 commit d501387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssuks/ssukickstarter.cpp
Expand Up @@ -148,7 +148,7 @@ QStringList SsuKickstarter::scriptletSection(QString name, bool chroot){
QDir::Name);

foreach (const QString &scriptlet, scriptlets){
QFile file(path + scriptlet);
QFile file(dir.filePath(scriptlet));
result.append("### begin " + scriptlet);
if (file.open(QIODevice::ReadOnly | QIODevice::Text)){
QTextStream in(&file);
Expand Down

0 comments on commit d501387

Please sign in to comment.