Skip to content

Instantly share code, notes, and snippets.

Created December 27, 2012 19:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/4391374 to your computer and use it in GitHub Desktop.
Save anonymous/4391374 to your computer and use it in GitHub Desktop.
diff --git a/articleview.cc b/articleview.cc
index b6bc92c..8060c33 100644
--- a/articleview.cc
+++ b/articleview.cc
@@ -170,6 +170,11 @@ ArticleView::ArticleView( QWidget * parent, ArticleNetworkAccessManager & nm,
}
+QSize ArticleView::minimumSizeHint() const
+{
+ return ui.searchFrame->minimumSizeHint();
+}
+
void ArticleView::setGroupComboBox( GroupComboBox const * g )
{
groupComboBox = g;
diff --git a/articleview.hh b/articleview.hh
index 519bf11..da7cf39 100644
--- a/articleview.hh
+++ b/articleview.hh
@@ -70,6 +70,8 @@ public:
/// group. Setting this to 0 disables this. It is 0 by default.
void setGroupComboBox( GroupComboBox const * );
+ virtual QSize minimumSizeHint() const;
+
~ArticleView();
typedef QMap< QString, QString > Contexts;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment