Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
76ec7545
Commit
76ec7545
authored
Jul 02, 2020
by
Tomaz Canabrava
Browse files
Port Blinking cursor away from Qt4 connect
parent
9b2e9731
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/EditProfileDialog.cpp
View file @
76ec7545
...
...
@@ -715,13 +715,8 @@ void EditProfileDialog::setupAppearancePage(const Profile::Ptr &profile)
&
Konsole
::
EditProfileDialog
::
toggleMouseWheelZoom
);
// cursor options
const
auto
options
=
QVector
<
BooleanOption
>
{
{
_appearanceUi
->
enableBlinkingCursorButton
,
Profile
::
BlinkingCursorEnabled
,
SLOT
(
toggleBlinkingCursor
(
bool
))
},
};
setupCheckBoxes
(
options
,
profile
);
_appearanceUi
->
enableBlinkingCursorButton
->
setChecked
(
profile
->
property
<
bool
>
(
Profile
::
BlinkingCursorEnabled
));
connect
(
_appearanceUi
->
enableBlinkingCursorButton
,
&
QToolButton
::
toggled
,
this
,
&
EditProfileDialog
::
toggleBlinkingCursor
);
if
(
profile
->
useCustomCursorColor
())
{
_appearanceUi
->
customCursorColorButton
->
setChecked
(
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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