mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 21:46:03 +03:00
Confirm feature: tray noticiation message when a new folder need to be confirmed
Issue #3148
This commit is contained in:
parent
45b598cacb
commit
ff6c11f126
1 changed files with 6 additions and 0 deletions
|
@ -1067,6 +1067,12 @@ void Folder::slotNewBigFolderDiscovered(const QString &newF)
|
|||
journal->setSelectiveSyncList(SyncJournalDb::SelectiveSyncUndecidedList, undecidedList);
|
||||
emit newBigFolderDiscovered(newFolder);
|
||||
}
|
||||
QString message = tr("A new folder larger than %1 MB has been added: %2.\n"
|
||||
"Please go in the settings to select it if you wish to download it.")
|
||||
.arg(ConfigFile().newBigFolderSizeLimit().second).arg(newF);
|
||||
|
||||
auto logger = Logger::instance();
|
||||
logger->postOptionalGuiLog(Theme::instance()->appNameGUI(), message);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue