Showing the changes to libraries/script-engine/src/ScriptsModel.cpp (1 of 2 files). Show all
Unified · Split
| @@ -40,7 +40,7 @@ TreeNodeBase::TreeNodeBase(TreeNodeFolder* parent, const QString& name, TreeNode · 39 unmodified lines | ||
| 40 | 40 | TreeNodeScript::TreeNodeScript(const QString& localPath, const QString& fullPath, ScriptOrigin origin) : |
| 41 | 41 | TreeNodeBase(NULL, localPath.split("/").last(), TREE_NODE_TYPE_SCRIPT), |
| 42 | 42 | _localPath(localPath), |
| 43 | − _fullPath(fullPath), | |
| 43 | + _fullPath(expandScriptUrl(QUrl(fullPath)).toString()), | |
| 44 | 44 | _origin(origin) { |
| 45 | 45 | }; |
| 46 | 46 | |
| @@ -163,10 +163,6 @@ void ScriptsModel::requestDefaultFiles(QString marker) { · 116 unmodified lines | ||
| 163 | 163 | if (localDir.endsWith("/")) { |
| 164 | 164 | localDirPartCount--; |
| 165 | 165 | } |
| 166 | − qDebug() << "|"; | |
| 167 | − qDebug() << "|"; | |
| 168 | − qDebug() << "|"; | |
| 169 | − qDebug() << localDir; | |
| 170 | 166 | #ifdef Q_OS_WIN |
| 171 | 167 | localDirPartCount++; // one for the drive letter |
| 172 | 168 | #endif |