Transcalc compiles with Qt6

This commit is contained in:
Vadim Kuznetsov 2023-01-26 13:36:39 +03:00
parent 6616ff4ffb
commit e3b226a1b6
4 changed files with 3 additions and 4 deletions

View File

@ -46,7 +46,7 @@ HelpDialog::HelpDialog(QWidget *parent)
resize(350, 230);
vLayout = new QVBoxLayout(this);
vLayout->setMargin(3);
vLayout->setContentsMargins(3,3,3,3);
vLayout->setSpacing(3);
Text = new QTextEdit(s, this);

View File

@ -23,7 +23,6 @@
#include <QApplication>
#include <QString>
#include <QTextCodec>
#include <QTranslator>
#include <QFile>
#include <QTextStream>

View File

@ -37,7 +37,7 @@ OptionsDialog::OptionsDialog(QWidget *parent)
// -------- create dialog widgets ------------
vLayout = new QVBoxLayout(this);
vLayout->setMargin(3);
vLayout->setContentsMargins(3,3,3,3);
vLayout->setSpacing(3);
QGroupBox * unitsGroup = new QGroupBox(tr("Units"));

View File

@ -43,7 +43,7 @@
#include <QDir>
#include <QButtonGroup>
#include <QStackedWidget>
#include <QRegExp>
#include <QRegularExpression>
#include <QValidator>
#include <QClipboard>
#include <QApplication>