Commit 74cbd855 authored by Robert Loehning's avatar Robert Loehning
Browse files

ProjectExplorer: Show file name when referring to project file

Change-Id: Ib8fd32b4134620807ca7d311d6a844175e105bd1
Reviewed-by: default avatarDaniel Teske <>
parent f5548f40
......@@ -3189,12 +3189,12 @@ void ProjectExplorerPlugin::renameFile(Node *node, const QString &newFilePath)
if (FileUtils::renameFile(orgFilePath, newFilePath)) {
// Tell the project plugin about rename
FolderNode *folderNode = node->parentFolderNode();
QString projectDisplayName = folderNode->projectNode()->displayName();
QString projectFileName = folderNode->projectNode()->path().fileName();
if (!folderNode->renameFile(orgFilePath, newFilePath)) {
dd->m_renameFileError = tr("The file %1 was renamed to %2, but the project file %3 could not be automatically changed.")
QTimer::singleShot(0, m_instance, SLOT(showRenameFileError()));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment