From 3b48cb9e32b9537a02984e1535e2a54ad919e86d Mon Sep 17 00:00:00 2001 From: juuz0 <2002nikhiltanwar@gmail.com> Date: Wed, 1 Sep 2021 14:42:40 +0530 Subject: [PATCH] Added attribute to show tooltips even when the window is unfocused. (#684) --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 445c10c..03c2a58 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -17,6 +17,7 @@ MainWindow::MainWindow(QWidget *parent) : mp_about(new About(this)), mp_localKiwixServer(new LocalKiwixServer(this)) { + QWidget::setAttribute(Qt::WA_AlwaysShowToolTips); mp_ui->setupUi(this); mp_ui->tabBar->setExpanding(false); mp_ui->tabBar->setStackedWidget(mp_ui->mainView);