Commit 43102600 authored by Marc Mutz's avatar Marc Mutz
Browse files

Remove uses of QString::null


It's going to be deprecated.

Change-Id: Iec967478785d327caa846a259fb8eeff18173429
Reviewed-by: default avatarLars Knoll <lars.knoll@qt.io>
Showing with 2 additions and 2 deletions
......@@ -577,7 +577,7 @@ void BrowserApplication::setPrivateBrowsing(bool privateBrowsing)
} else {
Q_FOREACH (BrowserMainWindow* window, mainWindows()) {
window->tabWidget()->setProfile(QWebEngineProfile::defaultProfile());
window->m_lastSearch = QString::null;
window->m_lastSearch = QString();
window->tabWidget()->clear();
}
}
......
......@@ -882,7 +882,7 @@ QByteArray TabWidget::saveState() const
if (WebView *tab = qobject_cast<WebView*>(widget(i))) {
tabs.append(tab->url().toString());
} else {
tabs.append(QString::null);
tabs.append(QString());
}
}
stream << tabs;
......
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