Commit f78fdc6a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make compile against qt6

parent f242608c
Pipeline #188826 passed with stage
in 1 minute and 39 seconds
......@@ -140,7 +140,11 @@ void ArticleViewerWebEngineWidgetNg::printRequested(QWebEnginePage *page)
return;
}
delete dialog;
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
page->print(mCurrentPrinter, invoke(this, &ArticleViewerWebEngineWidgetNg::slotHandlePagePrinted));
#else
#pragma "Fix port printing"
#endif
}
void ArticleViewerWebEngineWidgetNg::slotHandlePagePrinted(bool result)
......
......@@ -44,8 +44,9 @@ MainWindow::MainWindow(QWidget *parent)
, m_part()
, m_statusLabel(new KSqueezedTextLabel(this))
{
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
setPluginLoadingMode(DoNotLoadPlugins);
#endif
// set the shell's ui resource file
setXMLFile(QStringLiteral("akregator_shell.rc"));
......
Supports Markdown
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