From 9605a1d0da481c7ad071ffdf99d6f6728ac0bccb Mon Sep 17 00:00:00 2001 From: volzhs Date: Sun, 23 Oct 2016 23:38:49 +0900 Subject: Remove dead code in FileSystemDock --- 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 8a94c6e340..5b1e80fc3b 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 -- cgit v1.2.3