Skip to content

Commit

Permalink
[sailfish-webengine-settings] Update text selection background color.…
Browse files Browse the repository at this point in the history
… Fixes JB#36973

Let's do not tamper QPalette just adjust preference.
  • Loading branch information
rainemak committed Nov 16, 2016
1 parent f08867f commit f4eddc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/webenginesettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ void SailfishOS::WebEngineSettings::initialize()
engineSettings->setPreference(QStringLiteral("apz.asyncscroll.timeout"), QVariant::fromValue<int>(15));
engineSettings->setPreference(QStringLiteral("apz.fling_stopped_threshold"), QLatin1String("0.13f"));

// Theme settings.
engineSettings->setPreference(QStringLiteral("ui.textSelectBackground"), QLatin1String("#878787"));

// Make long press timeout equal to the one in Qt
engineSettings->setPreference(QStringLiteral("ui.click_hold_context_menus.delay"), QVariant(PressAndHoldDelay));

Expand Down

0 comments on commit f4eddc1

Please sign in to comment.