mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 18:23:22 +02:00
Styling + others
This commit is contained in:
parent
664a1a7677
commit
eb52ded4ad
3 changed files with 10 additions and 1 deletions
|
@ -0,0 +1,6 @@
|
|||
QPushButton {
|
||||
background-color: #333333;
|
||||
border-width: 0;
|
||||
border-top-left-radius: 9px;
|
||||
border-bottom-left-radius: 9px;
|
||||
}
|
|
@ -4588,7 +4588,8 @@ void Application::parseVersionXml(QNetworkReply *reply) {
|
|||
|
||||
if (xml.name() == "Version") {
|
||||
xml.readNext();
|
||||
*_latestVersion = xml.text().toString();
|
||||
QString latestVersion = xml.text().toString();
|
||||
_latestVersion = &latestVersion;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -42,9 +42,11 @@ UpdateDialog::UpdateDialog(QWidget *parent, QString releaseNotes, QUrl *download
|
|||
}
|
||||
_releaseNotes = new QLabel(this);
|
||||
_releaseNotes->setText(releaseNotes);
|
||||
_releaseNotes->setObjectName("releaseNotes");
|
||||
|
||||
_updateRequired = new QLabel(this);
|
||||
_updateRequired->setText(updateRequired);
|
||||
_updateRequired->setObjectName("updateRequired");
|
||||
|
||||
_downloadButton = new QPushButton("Download", this);
|
||||
_downloadButton->setObjectName("downloadButton");
|
||||
|
|
Loading…
Reference in a new issue