Commit eebaeeea authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const variable here

parent a820ee5e
Pipeline #83385 failed with stage
in 8 minutes and 45 seconds
......@@ -19,11 +19,11 @@ using namespace IncidenceEditorNG;
AttendeeLineEditDelegate::AttendeeLineEditDelegate(QObject *parent)
: QStyledItemDelegate(parent)
{
mToolTip = i18nc("@info:tooltip", "Enter the name or email address of the attendee.");
mWhatsThis = i18nc("@info:whatsthis",
, mToolTip(i18nc("@info:tooltip", "Enter the name or email address of the attendee."))
, mWhatsThis(i18nc("@info:whatsthis",
"The email address or name of the attendee. An invitation "
"can be sent to the user if an email address is provided.");
"can be sent to the user if an email address is provided."))
{
}
QWidget *AttendeeLineEditDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const
......
......@@ -34,8 +34,8 @@ public Q_SLOTS:
private:
void rightPressed();
void leftPressed();
QString mToolTip;
QString mWhatsThis;
const QString mToolTip;
const QString mWhatsThis;
KCompletion::CompletionMode mCompletionMode = KCompletion::CompletionPopup;
};
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment