diff --git a/src/dialogs/about.cpp b/src/dialogs/about.cpp index 21c062b43..87c5b2d49 100644 --- a/src/dialogs/about.cpp +++ b/src/dialogs/about.cpp @@ -95,24 +95,13 @@ About::About(QWidget *parent):QDialog(parent) { ui_.label_title->setFont(title_font); ui_.label_title->setText(Title); - ui_.label_title->adjustSize(); ui_.label_text->setText(MainHtml()); - ui_.label_text->adjustSize(); ui_.text_contributors->setText(ContributorsHtml()); ui_.buttonBox->button(QDialogButtonBox::Close)->setShortcut(QKeySequence::Close); } -void About::showEvent(QShowEvent*) { - - setMinimumHeight(0); - setMaximumHeight(9000); - adjustSize(); - setFixedHeight(height() + 40); - -} - QString About::MainHtml() const { QString ret; @@ -134,9 +123,9 @@ QString About::MainHtml() const { ret += "
"; ret += "";
- ret += tr("If you like this Strawberry and can make use of it, consider sponsoring or donating.");
+ ret += tr("If you like Strawberry and can make use of it, consider sponsoring or donating.");
ret += "
";
- ret += tr("You can sponsor the author on %1. You can also make a one-time payment through %2.").arg("GitHub sponsors.").arg("paypal.me/jonaskvinge");
+ ret += tr("You can sponsor the author on %1. You can also make a one-time payment through %2.").arg("GitHub sponsors").arg("paypal.me/jonaskvinge");
ret += "