summaryrefslogtreecommitdiffstats
path: root/examples/network/torrent/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/network/torrent/mainwindow.cpp')
-rw-r--r--examples/network/torrent/mainwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/network/torrent/mainwindow.cpp b/examples/network/torrent/mainwindow.cpp
index 0d56858514..36c8d5982d 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