mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
changed TrayMenu text from 'stop' to 'Quit'
This commit is contained in:
parent
9f0b2f9a00
commit
d351999e73
@ -163,7 +163,7 @@ void UIWindow::setupUIWindow(std::vector<std::string> wallpaperPaths) {
|
|||||||
this->show();
|
this->show();
|
||||||
});
|
});
|
||||||
|
|
||||||
auto* closeAction = new QAction("close");
|
auto* closeAction = new QAction("Quit");
|
||||||
connect(closeAction, &QAction::triggered, [this]() {
|
connect(closeAction, &QAction::triggered, [this]() {
|
||||||
this->qapp->quit();
|
this->qapp->quit();
|
||||||
});
|
});
|
||||||
@ -228,7 +228,7 @@ void UIWindow::updateSelectedButton() {
|
|||||||
if (button->property("path").toString().toStdString() == selected) {
|
if (button->property("path").toString().toStdString() == selected) {
|
||||||
button->setStyleSheet("background-color: #4488ff; color white; border: 2px solid #0055cc");
|
button->setStyleSheet("background-color: #4488ff; color white; border: 2px solid #0055cc");
|
||||||
} else {
|
} else {
|
||||||
button->setStyleSheet("background-color: #4A4D51; color white; border: 2px solid #2B2A33");
|
button->setStyleSheet("background-color: #4A4D51; color white; border: 2px solid #3B3A43");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user