forked from qt-creator/qt-creator
Utils: Make FilePathAspect::value() return a QString
This is meant to be the "internal", raw, unexpanded value that does not necessarily match a scheme://host/path pattern before expansion. Change-Id: I627afbe1e9682d85c5bb04542c7354760ba9a13f Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -174,7 +174,7 @@ void VcsBaseSubmitEditor::setParameters(const VcsBaseSubmitEditorParameters &par
|
||||
const CommonVcsSettings &settings = commonSettings();
|
||||
// Add additional context menu settings
|
||||
if (!settings.submitMessageCheckScript().isEmpty()
|
||||
|| !settings.nickNameMailMap.value().isEmpty()) {
|
||||
|| !settings.nickNameMailMap().isEmpty()) {
|
||||
auto sep = new QAction(this);
|
||||
sep->setSeparator(true);
|
||||
d->m_widget->addDescriptionEditContextMenuAction(sep);
|
||||
@@ -186,7 +186,7 @@ void VcsBaseSubmitEditor::setParameters(const VcsBaseSubmitEditorParameters &par
|
||||
d->m_widget->addDescriptionEditContextMenuAction(checkAction);
|
||||
}
|
||||
// Insert nick
|
||||
if (!settings.nickNameMailMap.value().isEmpty()) {
|
||||
if (!settings.nickNameMailMap().isEmpty()) {
|
||||
auto insertAction = new QAction(Tr::tr("Insert Name..."), this);
|
||||
connect(insertAction, &QAction::triggered, this, &VcsBaseSubmitEditor::slotInsertNickName);
|
||||
d->m_widget->addDescriptionEditContextMenuAction(insertAction);
|
||||
|
||||
Reference in New Issue
Block a user