summaryrefslogtreecommitdiffstats
path: root/Swift
diff options
context:
space:
mode:
Diffstat (limited to 'Swift')
-rw-r--r--Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp b/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp
index 160482e..ee3ef96 100644
--- a/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp
+++ b/Swift/QtUI/QtVCardWidget/QtVCardWidget.cpp
@@ -176,6 +176,7 @@ void QtVCardWidget::setVCard(VCard::ref vcard) {
}
setEditable(editable);
+ window()->resize(sizeHint().width(), size().height() < 200 ? 200 : size().height());
}
VCard::ref QtVCardWidget::getVCard() {