Created
December 27, 2012 19:46
-
-
Save anonymous/4391374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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