1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-17 11:40:35 +02:00

Bug 2700 - "Failed to open the project database"

This commit is contained in:
Leland Lucius
2021-04-01 01:13:15 -05:00
parent 1ee130a92f
commit 392a060389
9 changed files with 124 additions and 38 deletions

View File

@@ -114,9 +114,15 @@ public:
// specific database. This is the workhorse for the above 3 methods.
static int64_t GetDiskUsage(DBConnection &conn, SampleBlockID blockid);
// Displays an error dialog with a button that offers help
void ShowError(wxWindow *parent,
const TranslatableString &dlogTitle,
const TranslatableString &message,
const wxString &helpPage);
const TranslatableString &GetLastError() const;
const TranslatableString &GetLibraryError() const;
int GetLastErrorCode() const;
const wxString &GetLastLog() const;
// Provides a means to bypass "DELETE"s at shutdown if the database
// is just going to be deleted anyway. This prevents a noticeable