git-svn-id: svn://db.shs.com.ru/libs@287 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-10-03 12:35:34 +00:00
parent 7ad19d72c5
commit fc04d04e9b
7 changed files with 20 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ ProjectFilesystemWidget::ProjectFilesystemWidget(QWidget * parent): QWidget(pare
buttonCollapse->setIcon(Utils::Icons::COLLAPSE.icon());
actionOpen_here->setIcon(Utils::Icons::OPENFILE.icon());
actionOpen_external->setIcon(Utils::Icons::OPENFILE.icon());
actionShow_external->setIcon(Utils::Icons::DIR.icon());
actionShow_external->setIcon(Core::FileIconProvider::icon(QFileIconProvider::Folder));
popup_menu.addActions(QList<QAction*>() << actionOpen_here << actionOpen_external << actionShow_external);
proj_plug = 0;
/*QList<QObject * > plugs = ExtensionSystem::PluginManager::allObjects();
@@ -369,7 +369,7 @@ void ProjectFilesystemWidget::on_tree_customContextMenuRequested(const QPoint &
void ProjectFilesystemWidget::on_actionOpen_here_triggered() {
if (menu_target.path().isEmpty()) return;
Core::EditorManager::openEditor(menu_target.absoluteFilePath());
Core::EditorManager::openEditor(menu_target.absoluteFilePath(), Core::Constants::K_DEFAULT_TEXT_EDITOR_ID);
}