mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
propagate save errors further, don't mark divelist unchanged
This at least avoids marking the dive list as unchanged on a failed write, and propagates the error further up the stack. We still don't show the error string in the GUI, though. I'll start doing that next, I think. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
76d4e3d916
commit
b5d0cfd557
2 changed files with 19 additions and 14 deletions
|
|
@ -163,8 +163,8 @@ private:
|
|||
static MainWindow *m_Instance;
|
||||
bool askSaveChanges();
|
||||
void writeSettings();
|
||||
void file_save();
|
||||
void file_save_as();
|
||||
int file_save();
|
||||
int file_save_as();
|
||||
void beginChangeState(CurrentState s);
|
||||
void saveSplitterSizes();
|
||||
QString lastUsedDir();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue