From e50b75b5d8f05c4b1072783d376b24ffef6100fd Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Sun, 15 Oct 2017 21:57:45 +0200 Subject: [PATCH] Welcome: Show the url of link buttons as tool tip Less secretiveness about what these buttons do. Change-Id: I145e5a3e62ccaffd2d1cb97614154a0ef43e1369 Reviewed-by: hjk --- src/plugins/welcome/welcomeplugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/welcome/welcomeplugin.cpp b/src/plugins/welcome/welcomeplugin.cpp index 848e0e64499..7cb62e6fc02 100644 --- a/src/plugins/welcome/welcomeplugin.cpp +++ b/src/plugins/welcome/welcomeplugin.cpp @@ -147,6 +147,7 @@ public: { setAutoFillBackground(true); setMinimumHeight(30); + setToolTip(m_openUrl); const QString fileName = QString(":/welcome/images/%1.png").arg(iconSource); const Icon icon({{fileName, Theme::Welcome_ForegroundPrimaryColor}}, Icon::Tint); @@ -191,7 +192,7 @@ public: QString m_iconSource; QString m_title; - QString m_openUrl; + const QString m_openUrl; QLabel *m_icon; QLabel *m_label;