Fix case clash dialog sizing issues

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2022-12-05 14:52:07 +01:00 committed by Matthieu Gallien
parent cf6794c180
commit 2359c80c13
No known key found for this signature in database
GPG key ID: 7D0F74F05C22F553
2 changed files with 3 additions and 2 deletions

View file

@ -95,6 +95,7 @@ CaseClashFilenameDialog::CaseClashFilenameDialog(AccountPtr account,
_ui->descriptionLabel->setText(tr("The file \"%1\" could not be synced because of a case clash conflict with an existing file on this system.").arg(_originalFileName));
_ui->explanationLabel->setText(tr("%1 does not support equal file names with only letter casing differences.").arg(QSysInfo::prettyProductName()));
_ui->filenameLineEdit->setText(filePathFileInfo.fileName());
adjustSize();
connect(_ui->buttonBox, &QDialogButtonBox::accepted, this, &QDialog::accept);
connect(_ui->buttonBox, &QDialogButtonBox::rejected, this, &QDialog::reject);

View file

@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>411</width>
<width>658</width>
<height>192</height>
</rect>
</property>
@ -26,7 +26,7 @@
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
</property>
<property name="wordWrap">
<bool>false</bool>
<bool>true</bool>
</property>
</widget>
</item>