mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix to last commit
This commit is contained in:
@@ -138,6 +138,7 @@ void torrentAdditionDialog::limitDialogWidth() {
|
|||||||
|
|
||||||
QRect desk(QApplication::desktop()->availableGeometry(scrn));
|
QRect desk(QApplication::desktop()->availableGeometry(scrn));
|
||||||
int max_width = desk.width();
|
int max_width = desk.width();
|
||||||
|
if(max_width > 0)
|
||||||
setMaximumWidth(max_width);
|
setMaximumWidth(max_width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user