Commit 4a9eb1bf authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Port away from deprecated QFLags(nullptr) constructor

parent fac9be59
......@@ -221,7 +221,7 @@ void SearchBarPlugin::startSearch(const QString &search)
if (m_searchMode == FindInThisPage) {
KParts::TextExtension *textExt = KParts::TextExtension::childObject(m_part);
if (textExt) {
textExt->findText(search, nullptr);
textExt->findText(search, KFind::SearchOptions());
}
} else if (m_searchMode == UseSearchProvider) {
m_urlEnterLock = true;
......
......@@ -179,7 +179,7 @@ void KonqSessionDlg::slotRename(QUrl dirpathTo)
dirpathTo = (dirpathTo == QUrl()) ? dirpathFrom : dirpathTo;
KIO::RenameDialog dlg(this, i18nc("@title:window", "Rename Session"), dirpathFrom,
dirpathTo, KIO::RenameDialog_Options(nullptr));
dirpathTo, KIO::RenameDialog_Options());
if (dlg.exec() == KIO::Result_Rename) {
dirpathTo = dlg.newDestUrl();
......
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