Skip to content

Commit

Permalink
Add invalid mode enum to invalid filename dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Aug 21, 2024
1 parent 94d62e0 commit f07b492
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/gui/invalidfilenamedialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,17 @@ class InvalidFilenameDialog : public QDialog
Default = 0,
NewLocalFile,
};
enum class InvalidMode {
SystemInvalid,
ServerInvalid
};

explicit InvalidFilenameDialog(AccountPtr account, Folder *folder, QString filePath, FileLocation fileLocation = FileLocation::Default, QWidget *parent = nullptr);
explicit InvalidFilenameDialog(AccountPtr account,
Folder *folder,
QString filePath,
FileLocation fileLocation = FileLocation::Default,
InvalidMode invalidMode = InvalidMode::SystemInvalid,
QWidget *parent = nullptr);

~InvalidFilenameDialog() override;

Expand Down

0 comments on commit f07b492

Please sign in to comment.