Commit 34a42404 authored by Laurent Montel's avatar Laurent Montel 😁

It's background not foreground

parent eaa24657
......@@ -229,7 +229,7 @@ void ArticleViewerWebEngine::slotWebHitFinished(const WebEngineViewer::WebHitTes
if (!mCurrentUrl.isEmpty()) {
{
QAction *act = createOpenLinkInNewTabAction(mCurrentUrl, &popup);
connect(act, &QAction::triggered, this, &ArticleViewerWebEngine::slotOpenLinkInForegroundTab);
connect(act, &QAction::triggered, this, &ArticleViewerWebEngine::slotOpenLinkInBackgroundTab);
popup.addAction(act);
}
{
......
......@@ -97,7 +97,7 @@ void AkrWebEngineViewer::slotWebHitFinished(const WebEngineViewer::WebHitTestRes
if (!mCurrentUrl.isEmpty()) {
{
QAction *act = createOpenLinkInNewTabAction(mCurrentUrl, &popup);
connect(act, &QAction::triggered, this, &AkrWebEngineViewer::slotOpenLinkInForegroundTab);
connect(act, &QAction::triggered, this, &AkrWebEngineViewer::slotOpenLinkInBackgroundTab);
popup.addAction(act);
}
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment