From 7e4ddbbd9cf7a1e9a4cf963e900a32eaf8c43bbd Mon Sep 17 00:00:00 2001 From: f4exb Date: Fri, 5 Jan 2018 12:07:38 +0100 Subject: [PATCH] Commands: code commented cleanup --- sdrgui/mainwindow.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index dfec3680d..fd9873a3e 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -913,19 +913,6 @@ void MainWindow::on_commandEdit_clicked() editCommandDialog.toCommand(*command_mod); change = true; changedCommand = command; -// -// m_settings.sortCommands(); -// -// ui->commandTree->clear(); -// -// for (int i = 0; i < m_settings.getCommandCount(); ++i) -// { -// QTreeWidgetItem *item_x = addCommandToTree(m_settings.getCommand(i)); -// const Command* command_x = qvariant_cast(item_x->data(0, Qt::UserRole)); -// if (command_x == command_mod) { -// ui->commandTree->setCurrentItem(item_x); -// } -// } } } }