From 93640979082aeea91953e6299445a90760313866 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 20 Aug 2010 09:08:24 +0000 Subject: Expand hack to make sure the entire resume is shown. --- client/resumewidget.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/resumewidget.cc b/client/resumewidget.cc index bc97007..a017ab7 100644 --- a/client/resumewidget.cc +++ b/client/resumewidget.cc @@ -56,7 +56,8 @@ ResumeWidget::ResumeWidget(bool compact) layout()->addWidget(resume); - connect(resume, SIGNAL(linkActivated(const QString &)), this, SLOT(showFull(const QString &))); + connect(resume, SIGNAL(linkActivated(const QString &)), + this, SLOT(showFull(const QString &))); } #define LINEWIDTH 80 @@ -139,6 +140,9 @@ void ResumeWidget::setText(QString text, state_t state) break; } + int num = f.length() / 90; + for(int i = 0; i < num; i++) f+="\n"; + resume->setText(f); } -- cgit v1.2.3