aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/downloads/widgets/downloaditemwidget.cpp2
-rw-r--r--lib/downloads/widgets/elidedlabel.cpp1
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/downloads/widgets/downloaditemwidget.cpp b/lib/downloads/widgets/downloaditemwidget.cpp
index 660d8a5..3fe2ebd 100644
--- a/lib/downloads/widgets/downloaditemwidget.cpp
+++ b/lib/downloads/widgets/downloaditemwidget.cpp
@@ -126,7 +126,7 @@ void DownloadItemWidget::updateFinished()
"</tr>"
"</table>";
if(item->mimeType().startsWith("image"))
- tooltip = tooltip.arg("<img src='file://" + item->path() + "' alt='not available'>");
+ tooltip = tooltip.arg("<img src='file://" + item->path() + "' width='400' alt='not available'>");
else
tooltip = tooltip.arg("not available");
tooltip = tooltip.arg(item->url().toString(), item->path(), item->mimeType(), sizeString(item->totalBytes()));
diff --git a/lib/downloads/widgets/elidedlabel.cpp b/lib/downloads/widgets/elidedlabel.cpp
index d898da0..da81407 100644
--- a/lib/downloads/widgets/elidedlabel.cpp
+++ b/lib/downloads/widgets/elidedlabel.cpp
@@ -14,7 +14,6 @@
ElidedLabel::ElidedLabel(QWidget *parent)
: QLabel(parent)
{
- setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
}
void ElidedLabel::setText(const QString &text)