From 2607b1586fa33b5da006cbee97eb3bb097ab8046 Mon Sep 17 00:00:00 2001 From: sonichy Date: Fri, 14 Dec 2018 16:18:54 +0800 Subject: [PATCH] DDE-Dock API 1.0 -> 1.1 --- weather.json | 4 ++-- weatherplugin.cpp | 2 +- weatherwidget.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/weather.json b/weather.json index b9b78cb..0ec8548 100644 --- a/weather.json +++ b/weather.json @@ -1,3 +1,3 @@ { - "api": "1.0" -} + "api": "1.1" +} \ No newline at end of file diff --git a/weatherplugin.cpp b/weatherplugin.cpp index f7d696b..ba5af51 100644 --- a/weatherplugin.cpp +++ b/weatherplugin.cpp @@ -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: sonichy@163.com\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: sonichy@163.com\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(); } diff --git a/weatherwidget.cpp b/weatherwidget.cpp index ac72aaf..3476956 100644 --- a/weatherwidget.cpp +++ b/weatherwidget.cpp @@ -77,4 +77,4 @@ void WeatherWidget::mousePressEvent(QMouseEvent *e) } QWidget::mousePressEvent(e); -} +} \ No newline at end of file