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:
parent
8346e50688
commit
4b43bebc4a
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user