diff options
Diffstat (limited to 'examples')
-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 |