Commit 76ec7545 authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Port Blinking cursor away from Qt4 connect

parent 9b2e9731
......@@ -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);
......
Markdown is supported
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