summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authordeva <deva>2010-08-20 09:08:24 +0000
committerdeva <deva>2010-08-20 09:08:24 +0000
commit93640979082aeea91953e6299445a90760313866 (patch)
treebce0eded04112a97eaa59c0e2820be436b0cf958 /client
parent7e97935b7d719591005fc761ba885c0d9b7dd99f (diff)
Expand hack to make sure the entire resume is shown.
Diffstat (limited to 'client')
-rw-r--r--client/resumewidget.cc6
1 files changed, 5 insertions, 1 deletions
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);
}