mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-07-30 09:22:21 +08:00
更新 版本号
This commit is contained in:
parent
f723007166
commit
23d8e9ea82
2
main.cpp
2
main.cpp
@ -10,7 +10,7 @@ int main(int argc, char *argv[])
|
||||
a.setAttribute(Qt::AA_UseHighDpiPixmaps);
|
||||
a.loadTranslator();
|
||||
a.setOrganizationName("spark-union");
|
||||
a.setApplicationVersion(DApplication::buildVersion("1.0-beta5.4"));
|
||||
a.setApplicationVersion(DApplication::buildVersion("1.0-beta5.5"));
|
||||
a.setApplicationAcknowledgementPage("https://gitee.com/deepin-community-store/spark-store");
|
||||
a.setProductIcon(QIcon::fromTheme("spark-store")); //设置Logo
|
||||
|
||||
|
20
widget.cpp
20
widget.cpp
@ -189,6 +189,17 @@ void Widget::initConfig()
|
||||
}
|
||||
aptserver.close();
|
||||
}
|
||||
void Widget::setTheme(bool isDark)
|
||||
{
|
||||
if(isDark){
|
||||
ui->widget_menuList->setStyleSheet("background-color:#282828");
|
||||
ui->webView->setStyleSheet("background-color:#282828");
|
||||
}else {
|
||||
|
||||
ui->widget_menuList->setStyleSheet("background-color:#FFFFFF");
|
||||
ui->webView->setStyleSheet("background-color:#FFFFFF");
|
||||
}
|
||||
}
|
||||
|
||||
void Widget::on_webView_loadStarted()
|
||||
{
|
||||
@ -695,14 +706,7 @@ void Widget::openUrl(QUrl u)
|
||||
ui->webView->setUrl(app);
|
||||
}
|
||||
|
||||
void Widget::setTheme(bool isDark)
|
||||
{
|
||||
if(isDark){
|
||||
ui->widget_menuList->setStyleSheet("background-color:#282828");
|
||||
}else {
|
||||
ui->widget_menuList->setStyleSheet("background-color:#FFFFFF");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void Widget::on_pushButton_website_clicked()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user