summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
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);
}