From bfc445bd7cf5b7fd80d1116e93685d6c89162737 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 9 Dec 2021 14:12:00 +0100 Subject: [PATCH] Add tooltip for the new option --- src/gui/newdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/newdialog.cpp b/src/gui/newdialog.cpp index 4737457..203d35d 100644 --- a/src/gui/newdialog.cpp +++ b/src/gui/newdialog.cpp @@ -58,6 +58,8 @@ NewDialog::NewDialog(QWidget* parent, Device& device, Partition& unallocatedPart // Hack on top of hack. The dialog is created via two inheritances. auto *allowEveryone = new QCheckBox(i18n("Allow everyone to use this partition")); + allowEveryone->setToolTip(i18n("If you are creating a partition on a usb stick, leave this on")); + QBoxLayout *l = qobject_cast(layout()); int lCount = l->count(); l->insertWidget(lCount-1, allowEveryone);