mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[win] Fixed building after last commit.
This commit is contained in:
parent
95445738ef
commit
5569cec48b
@ -842,7 +842,7 @@ bool MainApplication::checkDefaultWebBrowser()
|
|||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
bool showAgain = true;
|
bool showAgain = true;
|
||||||
if (!associationManager()->isDefaultForAllCapabilities()) {
|
if (!associationManager()->isDefaultForAllCapabilities()) {
|
||||||
CheckBoxDialog dialog(QDialogButtonBox::Yes | QDialogButtonBox::No, this);
|
CheckBoxDialog dialog(QDialogButtonBox::Yes | QDialogButtonBox::No);
|
||||||
dialog.setText(tr("QupZilla is not currently your default browser. Would you like to make it your default browser?"));
|
dialog.setText(tr("QupZilla is not currently your default browser. Would you like to make it your default browser?"));
|
||||||
dialog.setCheckBoxText(tr("Always perform this check when starting QupZilla."));
|
dialog.setCheckBoxText(tr("Always perform this check when starting QupZilla."));
|
||||||
dialog.setWindowTitle(tr("Default Browser"));
|
dialog.setWindowTitle(tr("Default Browser"));
|
||||||
|
@ -119,7 +119,7 @@ void LocationCompleterDelegate::paint(QPainter* painter, const QStyleOptionViewI
|
|||||||
|
|
||||||
QRect textRect(linkRect);
|
QRect textRect(linkRect);
|
||||||
textRect.setX(textRect.x() + m_padding + 16 + m_padding);
|
textRect.setX(textRect.x() + m_padding + 16 + m_padding);
|
||||||
drawTextLine(textRect, m_view->tr("Switch to tab"), painter, style, opt, colorLinkRole);
|
drawTextLine(textRect, LocationCompleterView::tr("Switch to tab"), painter, style, opt, colorLinkRole);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
drawHighlightedTextLine(linkRect, link, searchText, painter, style, opt, colorLinkRole);
|
drawHighlightedTextLine(linkRect, link, searchText, painter, style, opt, colorLinkRole);
|
||||||
|
Loading…
Reference in New Issue
Block a user