mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Fix to last commit
This commit is contained in:
parent
ef01088411
commit
b5b06ce36d
@ -138,7 +138,8 @@ void torrentAdditionDialog::limitDialogWidth() {
|
||||
|
||||
QRect desk(QApplication::desktop()->availableGeometry(scrn));
|
||||
int max_width = desk.width();
|
||||
setMaximumWidth(max_width);
|
||||
if(max_width > 0)
|
||||
setMaximumWidth(max_width);
|
||||
}
|
||||
|
||||
void torrentAdditionDialog::hideTorrentContent() {
|
||||
|
Loading…
Reference in New Issue
Block a user