summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2014-11-28 23:25:38 +0100
committerGilles Caulier <[email protected]>2014-11-28 23:25:38 +0100
commitcc3c186840d39dca6839b4a0499a235f266191aa (patch)
tree1e9585f625805266269da9e118ee14b91a03b2d5
parent346d5aa5f5fbc61eb37a2071420d496fea73ad24 (diff)
add pragma PORT QT5
-rw-r--r--src/altlangstredit.cpp3
-rw-r--r--src/subjectwidget.cpp6
2 files changed, 6 insertions, 3 deletions
diff --git a/src/altlangstredit.cpp b/src/altlangstredit.cpp
index db5d30c..e7a8fc9 100644
--- a/src/altlangstredit.cpp
+++ b/src/altlangstredit.cpp
@@ -295,7 +295,8 @@ AltLangStrEdit::AltLangStrEdit(QWidget* const parent)
grid->addWidget(d->valueEdit, 1, 0, 1,-1);
grid->setColumnStretch(1, 10);
grid->setMargin(0);
-//TODO PORT QT5 grid->setSpacing(QDialog::spacingHint());
+#pragma message: PORT QT5
+// grid->setSpacing(QDialog::spacingHint());
loadLangAltListEntries();
diff --git a/src/subjectwidget.cpp b/src/subjectwidget.cpp
index 3c3e990..31b08ec 100644
--- a/src/subjectwidget.cpp
+++ b/src/subjectwidget.cpp
@@ -242,7 +242,8 @@ SubjectWidget::SubjectWidget(QWidget* const parent)
optionsBoxLayout->addWidget(m_detailEdit, 6, 1, 1, 4);
optionsBoxLayout->setColumnStretch(4, 10);
optionsBoxLayout->setMargin(0);
-//TODO PORT QT5 optionsBoxLayout->setSpacing(QDialog::spacingHint());
+#pragma message: PORT QT5
+// optionsBoxLayout->setSpacing(QDialog::spacingHint());
d->optionsBox->setLayout(optionsBoxLayout);
// --------------------------------------------------------
@@ -259,7 +260,8 @@ SubjectWidget::SubjectWidget(QWidget* const parent)
mainLayout->setRowStretch(6, 10);
mainLayout->setColumnStretch(2, 1);
mainLayout->setMargin(0);
-//TODO PORT QT5 mainLayout->setSpacing(QDialog::spacingHint());
+#pragma message: PORT QT5
+// mainLayout->setSpacing(QDialog::spacingHint());
setLayout(mainLayout);
// --------------------------------------------------------