From 06c47e6f8a51c272f5b8801f9faa64996262521c Mon Sep 17 00:00:00 2001 From: volzhs Date: Sun, 23 Oct 2016 23:38:49 +0900 Subject: [PATCH] Remove dead code in FileSystemDock (cherry picked from commit 9605a1d0da481c7ad071ffdf99d6f6728ac0bccb) --- tools/editor/filesystem_dock.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tools/editor/filesystem_dock.cpp b/tools/editor/filesystem_dock.cpp index 8a94c6e3401..5b1e80fc3b3 100644 --- a/tools/editor/filesystem_dock.cpp +++ b/tools/editor/filesystem_dock.cpp @@ -234,13 +234,6 @@ void FileSystemDock::_dir_selected() { button_favorite->set_pressed(found); - if (ti->get_parent() && ti->get_parent()->get_parent()==tree->get_root() && !ti->get_parent()->get_prev()) { - - //a favorite!!! - } else { - - - } if (!split_mode) { _open_pressed(); //go directly to dir