mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Merge pull request #3068 from nextcloud/bug/fixAssertEditIgnoredFiles
use QFileInfo to check if path is absolute to avoid assert on windows
This commit is contained in:
commit
4a7145f1f3
1 changed files with 1 additions and 2 deletions
|
@ -385,8 +385,7 @@ void AccountSettings::slotEditCurrentLocalIgnoredFiles()
|
|||
|
||||
void AccountSettings::openIgnoredFilesDialog(const QString & absFolderPath)
|
||||
{
|
||||
Q_ASSERT(absFolderPath.startsWith('/'));
|
||||
Q_ASSERT(absFolderPath.endsWith('/'));
|
||||
Q_ASSERT(QFileInfo(absFolderPath).isAbsolute());
|
||||
|
||||
const QString ignoreFile = absFolderPath + ".sync-exclude.lst";
|
||||
auto layout = new QVBoxLayout();
|
||||
|
|
Loading…
Reference in a new issue