diff options
author | Olivier Goffart <ogoffart@woboq.com> | 2018-01-19 15:41:29 +0300 |
---|---|---|
committer | Olivier Goffart <ogoffart@woboq.com> | 2018-01-19 15:41:29 +0300 |
commit | 5a97ddde5a0f14f715c32841c7f4f884aa99199c (patch) | |
tree | 64f15922d0c834097ecdf0cac9fb4dcf4e9d7ad3 /src/gui | |
parent | b8539eb32918109388bf70389ffea51c4d8f8822 (diff) | |
parent | 6f5b3eb4d7028c08718756a3dff89016c1511c28 (diff) |
Merge remote-tracking branch 'origin/2.4'
Conflicts:
src/gui/updater/updater.cpp
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/sharelinkwidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp index 7838e04b5..6d740fa5c 100644 --- a/src/gui/sharelinkwidget.cpp +++ b/src/gui/sharelinkwidget.cpp @@ -58,7 +58,9 @@ ShareLinkWidget::ShareLinkWidget(AccountPtr account, //Is this a file or folder? QFileInfo fi(localPath); _isFile = fi.isFile(); - _ui->nameLineEdit->setText(tr("%1 link").arg(fi.fileName())); + + // Note: the share name cannot be longer than 64 characters + _ui->nameLineEdit->setText(tr("Public link")); // the following progress indicator widgets are added to layouts which makes them // automatically deleted once the dialog dies. |