Skip to content

Commit

Permalink
Made blocker list name use empty string. Fixes #55
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz committed Oct 2, 2017
1 parent 322e954 commit cf3e213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blocker_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ void BlockerList::ApplySqlRecord(const QSqlRecord& record) {
}

void BlockerList::UpdateFromMeta(BlockerRules::ListMetadata meta) {
if (!meta.title.isEmpty()) name_ = meta.title;
name_ = meta.title.isEmpty() ? "" : meta.title;
if (!meta.homepage.isEmpty()) homepage_ = meta.homepage;
// We have decided not to support redirect
// if (!meta.redirect.isEmpty()) url_ = meta.redirect;
Expand Down

0 comments on commit cf3e213

Please sign in to comment.