History

fix display of path of selected file in running-scripts window

Seth Alves committed 10 years ago

Commit 56b84b31 parent 35affe22 files · +1 −32Browse files

Showing the changes to libraries/script-engine/src/ScriptsModel.cpp (1 of 2 files). Show all

Unified · Split

libraries/script-engine/src/ScriptsModel.cpp+1−5
@@ -40,7 +40,7 @@ TreeNodeBase::TreeNodeBase(TreeNodeFolder* parent, const QString& name, TreeNode · 39 unmodified lines
4040 TreeNodeScript::TreeNodeScript(const QString& localPath, const QString& fullPath, ScriptOrigin origin) :
4141 TreeNodeBase(NULL, localPath.split("/").last(), TREE_NODE_TYPE_SCRIPT),
4242 _localPath(localPath),
43− _fullPath(fullPath),
43+ _fullPath(expandScriptUrl(QUrl(fullPath)).toString()),
4444 _origin(origin) {
4545 };
4646
@@ -163,10 +163,6 @@ void ScriptsModel::requestDefaultFiles(QString marker) { · 116 unmodified lines
163163 if (localDir.endsWith("/")) {
164164 localDirPartCount--;
165165 }
166− qDebug() << "|";
167− qDebug() << "|";
168− qDebug() << "|";
169− qDebug() << localDir;
170166 #ifdef Q_OS_WIN
171167 localDirPartCount++; // one for the drive letter
172168 #endif