diff options
author | Vitaly Fanaskov <vitaly.fanaskov@qt.io> | 2020-02-07 09:36:54 +0100 |
---|---|---|
committer | Vitaly Fanaskov <vitaly.fanaskov@qt.io> | 2020-02-10 18:28:47 +0100 |
commit | e59094cb86b01396d7cfc2b337c58cfbef5b2455 (patch) | |
tree | 725e814c2277b3fc3549d9a7bd9c3c1496fec0f4 /examples/widgets/richtext/calendar/mainwindow.cpp | |
parent | 9cc8949cc63e47da3db333a699ff55ffa811783b (diff) |
QSpinBox: remove deprecated signal valueChanged(const QString &)
Task-number: QTBUG-81845
Change-Id: I91148cac553f63b44968337ccc121e7376ee4465
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'examples/widgets/richtext/calendar/mainwindow.cpp')
-rw-r--r-- | examples/widgets/richtext/calendar/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/richtext/calendar/mainwindow.cpp b/examples/widgets/richtext/calendar/mainwindow.cpp index 0842faeb16..8ac5a8cdce 100644 --- a/examples/widgets/richtext/calendar/mainwindow.cpp +++ b/examples/widgets/richtext/calendar/mainwindow.cpp @@ -90,7 +90,7 @@ MainWindow::MainWindow() this, &MainWindow::setMonth); connect(yearEdit, &QDateTimeEdit::dateChanged, this, &MainWindow::setYear); - connect(fontSizeSpinBox, QOverload<int>::of(&QSpinBox::valueChanged), + connect(fontSizeSpinBox, &QSpinBox::valueChanged, this, &MainWindow::setFontSize); //! [3] |