summaryrefslogtreecommitdiff
path: root/src/tabpreviewpopup.h
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2012-08-05 18:21:50 +0200
committerAndrea Diamantini <adjam7@gmail.com>2012-08-14 17:47:41 +0200
commit618081a2e0c3eb0320ff22fa6615bc73e19152db (patch)
tree5892a96b569fe266c157c72cef8e9a33eb6f2e9d /src/tabpreviewpopup.h
parentFix the tab preview ratio. We want the web page ratio, not the window ratio. (diff)
downloadrekonq-618081a2e0c3eb0320ff22fa6615bc73e19152db.tar.xz
Use a default size for tab preview.
It will fix disproportionate previews caused by very high ratio.
Diffstat (limited to 'src/tabpreviewpopup.h')
-rw-r--r--src/tabpreviewpopup.h4
1 files changed, 4 insertions, 0 deletions
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);