diff options
| author | Al12rs <gabriel.cortesi@outlook.com> | 2018-04-15 02:54:16 +0200 |
|---|---|---|
| committer | Al12rs <gabriel.cortesi@outlook.com> | 2018-04-15 02:54:58 +0200 |
| commit | fa104b342f440a4fc1c80426e2b5e2c5905d4151 (patch) | |
| tree | cf1787f136d7f57ea4883d4b6fc0fdf94c927104 | |
| parent | cc2c4cc9187de096db2cf2e4cf5f00cfbe4f7064 (diff) | |
Moved the Changelog to the detailed text to avoid the msgbox going below the scree. The readability is not graeat as QMessageBox does not allow resizing for some petty reason.
| -rw-r--r-- | src/selfupdater.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 8f962ba4..9706e1fb 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -170,10 +170,10 @@ void SelfUpdater::startUpdate() QMessageBox query(QMessageBox::Question,
tr("New update available (%1)")
- .arg(m_UpdateCandidate["tag_name"].toString()),
- BBCode::convertToHTML(m_UpdateCandidate["body"].toString()),
+ .arg(m_UpdateCandidate["tag_name"].toString()), tr("Do you want to install update? All your mods and setup will be left untouched.\nSelect Show Details option to see the full change-log."),
QMessageBox::Yes | QMessageBox::Cancel, m_Parent);
-
+
+ query.setDetailedText(m_UpdateCandidate["body"].toString());
query.button(QMessageBox::Yes)->setText(tr("Install"));
int res = query.exec();
|
