From 10785a85347e0cca62e6029097baec7c4d7dc0d5 Mon Sep 17 00:00:00 2001 From: Tobias Markmann <tm@ayena.de> Date: Mon, 29 Sep 2014 17:39:22 +0200 Subject: Add tooltip to preferred stars of profile editor to describe what it's for. Change-Id: I937c39406ec3ae58cd7c0d8311543bcbb684fda0 diff --git a/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.cpp b/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.cpp index 21e794e..74ebd47 100644 --- a/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.cpp +++ b/Swift/QtUI/QtVCardWidget/QtVCardGeneralField.cpp @@ -30,6 +30,7 @@ QtVCardGeneralField::~QtVCardGeneralField() { void QtVCardGeneralField::initialize() { if (preferrable) { preferredCheckBox = new QCheckBox(this); + preferredCheckBox->setToolTip(tr("Stars can be used to mark preferred contact details.")); preferredCheckBox->setStyleSheet( "QCheckBox::indicator { width: 18px; height: 18px; }" "QCheckBox::indicator:checked { image: url(:/icons/star-checked.png); }" -- cgit v0.10.2-6-g49f6