Skip to content

Commit

Permalink
DDE-Dock API 1.0 -> 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sonichy committed Dec 14, 2018
1 parent 85632e4 commit 2607b15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions weather.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"api": "1.0"
}
"api": "1.1"
}
2 changes: 1 addition & 1 deletion weatherplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ void WeatherPlugin::invokedMenuItem(const QString &itemKey, const QString &menuI

void WeatherPlugin::MBAbout()
{
QMessageBox aboutMB(QMessageBox::NoIcon, "海天鹰天气预报 4.9.1", "关于\n\n深度Linux系统上一款在任务栏显示天气的插件。\n作者:黄颖\nE-mail: [email protected]\n源码:https://github.com/sonichy/WEATHER_DDE_DOCK\n天气API:https://www.sojson.com/blog/305.html");
QMessageBox aboutMB(QMessageBox::NoIcon, "海天鹰天气预报 4.9.2", "关于\n\n深度Linux系统上一款在任务栏显示天气的插件。\n作者:黄颖\nE-mail: [email protected]\n源码:https://github.com/sonichy/WEATHER_DDE_DOCK\n天气API:https://www.sojson.com/blog/305.html");
aboutMB.setIconPixmap(QPixmap(":/icon/sunny.png"));
aboutMB.exec();
}
Expand Down
2 changes: 1 addition & 1 deletion weatherwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ void WeatherWidget::mousePressEvent(QMouseEvent *e)
}

QWidget::mousePressEvent(e);
}
}

0 comments on commit 2607b15

Please sign in to comment.