Shutup LinkPreviewDelegate

Make sure that the console isn't spammed having `linkpreviewer` undefined in `LinkPreviewDelegate`, even though it shouldn't ever be and I couldn't find any case where it was but my console was still intermittently getting spammed.
This commit is contained in:
James Graham
2023-09-11 06:27:13 +00:00
parent 83b3fefbf5
commit cd39d5b129
4 changed files with 19 additions and 5 deletions

View File

@@ -93,4 +93,9 @@ void LinkPreviewer::loadUrlPreview()
}
}
bool LinkPreviewer::empty() const
{
return m_url.isEmpty();
}
#include "moc_linkpreviewer.cpp"