Skip to content

Commit

Permalink
Remove QUrl constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
varjolintu committed Jul 11, 2018
1 parent 3d82da4 commit 868be21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/BrowserService.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ QList<Entry*> BrowserService::searchEntries(Database* db, const QString& hostnam

// Filter to match hostname in URL field
if ((!entryUrl.isEmpty() && hostname.contains(entryUrl))
|| (matchUrlScheme(entryUrl) && hostname.endsWith(QUrl(entryUrl).host()))) {
|| (matchUrlScheme(entryUrl) && hostname.endsWith(entryQUrl.host()))) {
entries.append(entry);
}
}
Expand Down

0 comments on commit 868be21

Please sign in to comment.