Commit 5d81c41e authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Notifications] Don't generate previews of zero size

A `QSize(0,0)` is still valid... Fixes sometimes preview not showing
and other problems with the thumbnailer.

CCBUG: 430862
parent 340667e7
......@@ -121,7 +121,7 @@ void Thumbnailer::generatePreview()
if (!m_url.isValid() || !m_url.isLocalFile() || !m_size.isValid()) {
if (!m_url.isValid() || !m_url.isLocalFile() || !m_size.isValid() || m_size.isEmpty()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment