Browse Source

Fix to last commit

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
b5b06ce36d
  1. 3
      src/torrentadditiondlg.cpp

3
src/torrentadditiondlg.cpp

@ -138,7 +138,8 @@ 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();
setMaximumWidth(max_width); if(max_width > 0)
setMaximumWidth(max_width);
} }
void torrentAdditionDialog::hideTorrentContent() { void torrentAdditionDialog::hideTorrentContent() {

Loading…
Cancel
Save