forked from qt-creator/qt-creator
Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
This commit is contained in:
@@ -435,7 +435,7 @@ void CentralWidget::setSourceInNewTab(const QUrl &url, int zoom)
|
||||
viewer->setZoom(zoom);
|
||||
viewer->setSource(url);
|
||||
viewer->setFocus(Qt::OtherFocusReason);
|
||||
|
||||
|
||||
#if defined(QT_NO_WEBKIT)
|
||||
QFont font = viewer->font();
|
||||
font.setPointSize(font.pointSize() + int(zoom));
|
||||
@@ -560,7 +560,7 @@ void CentralWidget::showTabBarContextMenu(const QPoint &point)
|
||||
closePages->setEnabled(enableAction);
|
||||
|
||||
menu.addSeparator();
|
||||
|
||||
|
||||
QAction *newBookmark = menu.addAction(tr("Add Bookmark for this Page..."));
|
||||
const QString &url = viewer->source().toString();
|
||||
if (url.isEmpty() || url == QLatin1String("about:blank"))
|
||||
|
||||
Reference in New Issue
Block a user