1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

[win] Fixed building after last commit.

This commit is contained in:
nowrep 2013-01-29 20:58:08 +01:00
parent 95445738ef
commit 5569cec48b
2 changed files with 2 additions and 2 deletions

View File

@ -842,7 +842,7 @@ bool MainApplication::checkDefaultWebBrowser()
#ifdef Q_OS_WIN
bool showAgain = true;
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.setCheckBoxText(tr("Always perform this check when starting QupZilla."));
dialog.setWindowTitle(tr("Default Browser"));

View File

@ -119,7 +119,7 @@ void LocationCompleterDelegate::paint(QPainter* painter, const QStyleOptionViewI
QRect textRect(linkRect);
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 {
drawHighlightedTextLine(linkRect, link, searchText, painter, style, opt, colorLinkRole);