diff options
| author | Chris Bessent <lost.dragonist@gmail.com> | 2021-02-11 18:39:06 -0700 |
|---|---|---|
| committer | Chris Bessent <lost.dragonist@gmail.com> | 2021-02-11 18:39:06 -0700 |
| commit | f486e6fa4e5893c4f437147e5a031e64b48035e7 (patch) | |
| tree | ae73bdc491b41c8dace7bbfaaf6f9272d611340a /src/selfupdater.cpp | |
| parent | 9e5a64b54550f1c0ad8d1b91510209f6e3196b17 (diff) | |
Updates to text, title and buttons
Diffstat (limited to 'src/selfupdater.cpp')
| -rw-r--r-- | src/selfupdater.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 68aecc46..4b2894fd 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -165,9 +165,11 @@ void SelfUpdater::startUpdate() auto latestRelease = m_UpdateCandidates.begin()->second;
- UpdateDialog dialog(m_Parent, tr("New update available (%1 -> %2)")
- .arg(MOShared::createVersionInfo().displayString(3))
- .arg(latestRelease["tag_name"].toString()));
+ UpdateDialog dialog(m_Parent);
+ dialog.setVersions(
+ MOShared::createVersionInfo().displayString(3),
+ latestRelease["tag_name"].toString()
+ );
// We concatenate release details. We only include pre-release if those are
// the latest release:
|
