Skip to content

Commit

Permalink
chore: update the file
Browse files Browse the repository at this point in the history
  • Loading branch information
x-tools-author committed Oct 12, 2024
1 parent 01efb39 commit d595ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Resources/Icons/IconChart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Source/IOPage/IOPage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ IOPage::IOPage(ControllerDirection direction, QSettings *settings, QWidget *pare
ui->widgetRxInfo->setupIO(m_rxStatistician);
ui->widgetTxInfo->setupIO(m_txStatistician);
ui->toolButtonCharts->setCheckable(true);
ui->toolButtonCharts->setIcon(QIcon("qrc:/Resources/Icons/IconChart.svg"));
connect(ui->toolButtonCharts, &QToolButton::clicked, this, [this](bool checked) {
qInfo() << "Show charts:" << ui->toolButtonCharts->isChecked() << checked;
ui->widgetCharts->setVisible(!ui->widgetCharts->isVisible());
Expand Down
1 change: 1 addition & 0 deletions xTools.qrc
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,6 @@
<file>Resources/Files/History.txt</file>
<file>Resources/Translations/xToolsCore_en.qm</file>
<file>Resources/Translations/xToolsCore_zh_CN.qm</file>
<file>Resources/Icons/IconChart.svg</file>
</qresource>
</RCC>

0 comments on commit d595ca6

Please sign in to comment.