From 618081a2e0c3eb0320ff22fa6615bc73e19152db Mon Sep 17 00:00:00 2001 From: Yoann Laissus Date: Sun, 5 Aug 2012 18:21:50 +0200 Subject: Use a default size for tab preview. It will fix disproportionate previews caused by very high ratio. --- src/tabpreviewpopup.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tabpreviewpopup.h') diff --git a/src/tabpreviewpopup.h b/src/tabpreviewpopup.h index 5c62102f..14f6f0ed 100644 --- a/src/tabpreviewpopup.h +++ b/src/tabpreviewpopup.h @@ -52,6 +52,10 @@ public: explicit TabPreviewPopup(WebTab *tab, QWidget *parent = 0); virtual ~TabPreviewPopup(); + QSize thumbnailSize() const; + + static const int previewBaseSize = 200; + private: void setWebTab(WebTab *tab = 0); void setUrl(const QString& text); -- cgit v1.2.1