Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
62af7f7a
Commit
62af7f7a
authored
Feb 11, 2021
by
Laurent Montel
Browse files
Emit signal when we focus in recipientLineEdit
parent
c2fa3173
Pipeline
#50569
passed with stage
in 42 minutes and 9 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
62af7f7a
cmake_minimum_required
(
VERSION 3.5 FATAL_ERROR
)
set
(
PIM_VERSION
"5.16.4
5
"
)
set
(
PIM_VERSION
"5.16.4
6
"
)
if
(
POLICY CMP0053
)
cmake_policy
(
SET CMP0053 NEW
)
...
...
messagecomposer/src/recipient/recipientseditor.cpp
View file @
62af7f7a
...
...
@@ -299,6 +299,8 @@ bool RecipientsEditor::eventFilter(QObject *object, QEvent *event)
return
true
;
}
}
}
else
if
(
event
->
type
()
==
QEvent
::
FocusIn
&&
qobject_cast
<
RecipientLineEdit
*>
(
object
))
{
Q_EMIT
focusInRecipientLineEdit
();
}
return
false
;
...
...
messagecomposer/src/recipient/recipientseditor.h
View file @
62af7f7a
...
...
@@ -92,6 +92,9 @@ protected:
bool
eventFilter
(
QObject
*
object
,
QEvent
*
event
)
override
;
Q_REQUIRED_RESULT
RecipientLineNG
*
activeLine
()
const
override
;
Q_SIGNALS:
void
focusInRecipientLineEdit
();
private:
RecipientsEditorPrivate
*
const
d
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment