mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix possible filter list height problem
This commit is contained in:
@@ -237,9 +237,6 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||||||
readSettings();
|
readSettings();
|
||||||
properties->readSettings();
|
properties->readSettings();
|
||||||
|
|
||||||
// Limit status filters list height
|
|
||||||
transferListFilters->getStatusFilters()->updateHeight();
|
|
||||||
|
|
||||||
if(!ui_locked) {
|
if(!ui_locked) {
|
||||||
if(pref.startMinimized())
|
if(pref.startMinimized())
|
||||||
showMinimized();
|
showMinimized();
|
||||||
@@ -676,6 +673,10 @@ void MainWindow::on_actionAbout_triggered() {
|
|||||||
|
|
||||||
void MainWindow::showEvent(QShowEvent *e) {
|
void MainWindow::showEvent(QShowEvent *e) {
|
||||||
qDebug("** Show Event **");
|
qDebug("** Show Event **");
|
||||||
|
|
||||||
|
// Update status filters list height
|
||||||
|
transferListFilters->getStatusFilters()->updateHeight();
|
||||||
|
|
||||||
if(getCurrentTabWidget() == transferList) {
|
if(getCurrentTabWidget() == transferList) {
|
||||||
properties->loadDynamicData();
|
properties->loadDynamicData();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user