File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/modules/windows/history Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ void HistoryContentsWidget::removeDomainEntries()
187187 return ;
188188 }
189189
190- const QString host (QUrl (domainItem->text ()).host ());
190+ const QString host (QUrl (domainItem->text ()).host (). remove ( QRegExp ( " ^www. " )) );
191191 QVector<quint64> entries;
192192
193193 for (int i = 0 ; i < m_model->rowCount (); ++i)
@@ -203,7 +203,7 @@ void HistoryContentsWidget::removeDomainEntries()
203203 {
204204 const QStandardItem *entryItem (groupItem->child (j, 0 ));
205205
206- if (entryItem && host == QUrl (entryItem->text ()).host ())
206+ if (entryItem && host == QUrl (entryItem->text ()).host (). remove ( QRegExp ( " ^www. " )) )
207207 {
208208 entries.append (entryItem->data (IdentifierRole).toULongLong ());
209209 }
You can’t perform that action at this time.
0 commit comments