diff --git a/src/navigation/navigationbar.cpp b/src/navigation/navigationbar.cpp index 0bd44c930..145160ace 100644 --- a/src/navigation/navigationbar.cpp +++ b/src/navigation/navigationbar.cpp @@ -125,7 +125,9 @@ NavigationBar::NavigationBar(QupZilla* mainClass, QWidget* parent) m_layout->addWidget(m_buttonHome); m_layout->addWidget(m_buttonAddTab); m_layout->addWidget(m_navigationSplitter); +#ifndef Q_WS_MAC m_layout->addWidget(m_supMenu); +#endif m_layout->addWidget(m_exitFullscreen); connect(m_menuBack, SIGNAL(aboutToShow()), this, SLOT(aboutToShowHistoryBackMenu())); diff --git a/src/webview/webview.cpp b/src/webview/webview.cpp index fc93d534d..173e64122 100644 --- a/src/webview/webview.cpp +++ b/src/webview/webview.cpp @@ -774,7 +774,6 @@ void WebView::mousePressEvent(QMouseEvent* event) break; case Qt::MiddleButton: { - qDebug("Middle mouse press"); QWebFrame* frame = page()->frameAt(event->pos()); #ifdef Q_WS_WIN if (frame && frame->hitTestContent(event->pos()).linkUrl().isEmpty()) { @@ -795,7 +794,6 @@ void WebView::mousePressEvent(QMouseEvent* event) } case Qt::LeftButton: { - qDebug("Left mouse press"); QWebFrame* frame = page()->frameAt(event->pos()); if (frame) { QUrl link = frame->hitTestContent(event->pos()).linkUrl(); @@ -818,7 +816,6 @@ void WebView::mouseReleaseEvent(QMouseEvent* event) { switch (event->button()) { case Qt::MiddleButton: { - qDebug("Middle release"); QWebFrame* frame = page()->frameAt(event->pos()); if (frame) { QUrl link = frame->hitTestContent(event->pos()).linkUrl();