mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
History: Store addresses with custom schemes
BUG: 406375 FIXED-IN: 23.08.5 Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
9c5f2c1624
commit
2bce10f4c8
|
@ -23,6 +23,7 @@
|
|||
#include "mainapplication.h"
|
||||
#include "sqldatabase.h"
|
||||
#include "webview.h"
|
||||
#include "qzsettings.h"
|
||||
|
||||
#include <QWebEngineProfile>
|
||||
|
||||
|
@ -74,7 +75,7 @@ void History::addHistoryEntry(const QUrl &url, QString title)
|
|||
QSL("http"), QSL("https"), QSL("ftp"), QSL("file")
|
||||
};
|
||||
|
||||
if (!schemes.contains(url.scheme())) {
|
||||
if (!schemes.contains(url.scheme()) && !qzSettings->allowedSchemes.contains(url.scheme())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user