0
0
mirror of https://github.com/yse/easy_profiler.git synced 2025-01-14 00:27:55 +08:00

Remove obsolete code

This commit is contained in:
Sergey Yagovtsev 2016-08-04 23:29:08 +03:00
parent 8346e50688
commit 4b43bebc4a

View File

@ -764,9 +764,6 @@ void ProfTreeWidget::contextMenuEvent(QContextMenuEvent* _event)
auto hidemenu = menu.addMenu("Select columns");
auto hdr = headerItem();
QSettings settings(profiler_gui::ORGANAZATION_NAME, profiler_gui::APPLICATION_NAME);
settings.beginGroup("tree_widget");
for (int i = 0; i < COL_COLUMNS_NUMBER; ++i)
{
auto columnAction = new ProfHideShowColumnAction(hdr->text(i), i);
@ -776,8 +773,6 @@ void ProfTreeWidget::contextMenuEvent(QContextMenuEvent* _event)
hidemenu->addAction(columnAction);
}
settings.endGroup();
menu.exec(QCursor::pos());
_event->accept();