From 712c8687c208629e22ef7b4d8015c899c2ea053a Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Fri, 2 Aug 2019 05:33:57 -0400
Subject: changed old whatsthis for prerelease apparently,
QFontMetrics::width() is deprecated
---
src/loglist.cpp | 3 ++-
src/settingsdialog.ui | 6 +-----
2 files changed, 3 insertions(+), 6 deletions(-)
(limited to 'src')
diff --git a/src/loglist.cpp b/src/loglist.cpp
index 192913b6..c884be49 100644
--- a/src/loglist.cpp
+++ b/src/loglist.cpp
@@ -162,7 +162,8 @@ LogList::LogList(QWidget* parent)
{
setModel(&LogModel::instance());
- const int timestampWidth = QFontMetrics(font()).width("00:00:00.000");
+ const QFontMetrics fm(font());
+ const int timestampWidth = fm.horizontalAdvance("00:00:00.000");
header()->setMinimumSectionSize(0);
header()->resizeSection(0, 20);
diff --git a/src/settingsdialog.ui b/src/settingsdialog.ui
index 1deac400..e011542e 100644
--- a/src/settingsdialog.ui
+++ b/src/settingsdialog.ui
@@ -76,11 +76,7 @@ p, li { white-space: pre-wrap; }
Update to non-stable releases.
- If this is enabled, the integrated update mechanism will notify of all releases, including pre-releases (alphas, betas).
-
-Please use this only if you're sufficiently tech-savvy to investigate issues, look for known problems in the issue tracker and create meaningful reports.
-
-If you use pre-releases, never contact me directly by e-mail or via private messages!
+ If this is enabled, the integrated update mechanism will notify of all releases, including pre-releases (alphas, betas). Please use this only if you're sufficiently tech-savvy to investigate issues, look for known problems in the issue tracker and create meaningful reports.
Install Pre-releases (Betas)
--
cgit v1.3.1