diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-08 13:19:37 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-04-10 13:59:30 +0200 |
commit | 033d01bd6e2aef740ad1408a04d3ca0ae3b9ba9b (patch) | |
tree | af2e47a222cf6f4ed3687305df2d1cc3a578b2ed /examples/network | |
parent | c0873b7832d8aaf79dda0c5c5820f97c84b399ed (diff) | |
download | qtbase-033d01bd6e2aef740ad1408a04d3ca0ae3b9ba9b.tar.gz |
QApplication: remove obsolete globalStrut functionality
Change-Id: If56873f86f5291264cac720f8db7dbd4db756f49
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples/network')
-rw-r--r-- | examples/network/torrent/mainwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/network/torrent/mainwindow.cpp b/examples/network/torrent/mainwindow.cpp index c343ee81b9..9a322e53fc 100644 --- a/examples/network/torrent/mainwindow.cpp +++ b/examples/network/torrent/mainwindow.cpp @@ -224,8 +224,7 @@ QSize MainWindow::sizeHint() const for (int i = 0; i < header->count() - 1; ++i) width += header->sectionSize(i); - return QSize(width, QMainWindow::sizeHint().height()) - .expandedTo(QApplication::globalStrut()); + return QSize(width, QMainWindow::sizeHint().height()); } const TorrentClient *MainWindow::clientForRow(int row) const |