From c3c9fbfc444c38450c3a81de5d0638b8a8eb86cb Mon Sep 17 00:00:00 2001 From: Nikita Baryshnikov Date: Wed, 20 Sep 2017 19:13:50 +0300 Subject: [PATCH] ResourceEditor: fix remove file Change-Id: I02a1a5376b0ec0d8013f75dcdec6e4b8992f5f15 Reviewed-by: Tobias Hunger --- src/plugins/resourceeditor/resourceeditorplugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp index 07c532f4eff..bc28f947475 100644 --- a/src/plugins/resourceeditor/resourceeditorplugin.cpp +++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp @@ -283,7 +283,7 @@ void ResourceEditorPlugin::renameFileContextMenu() void ResourceEditorPlugin::removeFileContextMenu() { - auto rfn = dynamic_cast(ProjectTree::findCurrentNode()); + auto rfn = dynamic_cast(ProjectTree::findCurrentNode()); QTC_ASSERT(rfn, return); QString path = rfn->filePath().toString(); FolderNode *parent = rfn->parentFolderNode();