Skip to content

Commit

Permalink
Update plugin URLs and fix status bar notification bug
Browse files Browse the repository at this point in the history
Signed-off-by: xiaoming <[email protected]>
  • Loading branch information
QQxiaoming committed Jul 24, 2024
1 parent 4b06a51 commit 392a1ab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/scripts/plugin_list.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@
"plugin": [
{
"name": "plugin-SearchOnWeb",
"url": "https://github.com/QuardCRT-platform/plugin-SearchOnWeb/releases/download/V0.0.4",
"url": "https://github.com/QuardCRT-platform/plugin-SearchOnWeb/releases/download/V0.0.5",
"filetagname": "searchonweb",
"platform": ["linux_x86_64", "windows_x86_64_mingw", "windows_x86_64_msvc", "macos_x86_64", "macos_arm64"]
},
{
"name": "plugin-onestep",
"url": "https://github.com/QuardCRT-platform/plugin-onestep/releases/download/V0.0.3",
"url": "https://github.com/QuardCRT-platform/plugin-onestep/releases/download/V0.0.4",
"filetagname": "onestep",
"platform": ["linux_x86_64", "windows_x86_64_mingw", "windows_x86_64_msvc", "macos_x86_64", "macos_arm64"]
},
{
"name": "plugin-quickcomplete",
"url": "https://github.com/QuardCRT-platform/plugin-quickcomplete/releases/download/V0.0.2",
"url": "https://github.com/QuardCRT-platform/plugin-quickcomplete/releases/download/V0.0.3",
"filetagname": "quickcomplete",
"platform": ["linux_x86_64", "windows_x86_64_mingw", "windows_x86_64_msvc", "macos_x86_64", "macos_arm64"]
},
{
"name": "plugin-ListSerial",
"url": "https://github.com/QuardCRT-platform/plugin-ListSerial/releases/download/V0.0.3",
"url": "https://github.com/QuardCRT-platform/plugin-ListSerial/releases/download/V0.0.4",
"filetagname": "listserial",
"platform": ["linux_x86_64", "windows_x86_64_mingw", "windows_x86_64_msvc", "macos_x86_64", "macos_arm64"]
},
Expand All @@ -32,7 +32,7 @@
},
{
"name": "plugin-TextStatistics",
"url": "https://github.com/QuardCRT-platform/plugin-TextStatistics/releases/download/V0.0.1",
"url": "https://github.com/QuardCRT-platform/plugin-TextStatistics/releases/download/V0.0.2",
"filetagname": "textstatistics",
"platform": ["linux_x86_64", "windows_x86_64_mingw", "windows_x86_64_msvc", "macos_x86_64", "macos_arm64"]
},
Expand Down
5 changes: 3 additions & 2 deletions src/statusbarwidget/statusbarwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ void StatusBarWidget::setSpeedInfo(bool enable, qreal tx, qreal rx) {
}

void StatusBarWidget::setNotifiction(bool enable) {
if(enable) {
m_notifiction = enable;
if(m_notifiction) {
statusBarNotifiction->setIcon(QFontIcon::icon(QChar(0xf0f3)));
} else {
statusBarNotifiction->setIcon(QFontIcon::icon(QChar(0xf0a2)));
Expand Down Expand Up @@ -262,7 +263,7 @@ void StatusBarWidget::retranslateUi()
statusBarTransRx->setIcon(QFontIcon::icon(QChar(0xf0ed)));
statusBarSpeedTx->setIcon(QFontIcon::icon(QChar(0xf0aa)));
statusBarSpeedRx->setIcon(QFontIcon::icon(QChar(0xf0ab)));
statusBarNotifiction->setIcon(QFontIcon::icon(QChar(0xf0a2)));
setNotifiction(m_notifiction);

ui->retranslateUi(this);
}
1 change: 1 addition & 0 deletions src/statusbarwidget/statusbarwidget.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ class StatusBarWidget : public QWidget

private:
Ui::StatusBarWidget *ui;
bool m_notifiction = false;
};

#endif // STATUSBARWIDGET_H

0 comments on commit 392a1ab

Please sign in to comment.