open random article doesn't open new tab

This commit is contained in:
luddens 2019-05-21 15:49:27 +02:00
parent adc9f1a7ce
commit badb43ec7b

View File

@ -256,7 +256,7 @@ void KiwixApp::createAction()
CREATE_ACTION_ICON(RandomArticleAction, "random", tr("Random Article"));
SET_SHORTCUT(RandomArticleAction, QKeySequence(Qt::CTRL+Qt::Key_R));
connect(mpa_actions[RandomArticleAction], &QAction::triggered,
this, [=]() { this->openRandomUrl(); });
this, [=]() { this->openRandomUrl(false); });
CREATE_ACTION_ICON(PrintAction, "print", tr("Print"));
SET_SHORTCUT(PrintAction, QKeySequence::Print);