From a91a49337c5992d64b30f493eea1eb492792b667 Mon Sep 17 00:00:00 2001 From: Ali Mohammad Pur Date: Wed, 12 May 2021 13:56:43 +0430 Subject: LibCore+Everywhere: Move OpenMode out of IODevice ...and make it an enum class so people don't omit "OpenMode". --- Userland/Applications/Spreadsheet/ExportDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/Spreadsheet/ExportDialog.cpp') diff --git a/Userland/Applications/Spreadsheet/ExportDialog.cpp b/Userland/Applications/Spreadsheet/ExportDialog.cpp index 015e514efe..965913f101 100644 --- a/Userland/Applications/Spreadsheet/ExportDialog.cpp +++ b/Userland/Applications/Spreadsheet/ExportDialog.cpp @@ -198,7 +198,7 @@ void CSVExportDialogPage::update_preview() auto file_or_error = Core::File::open( m_temp_output_file_path, - Core::IODevice::ReadOnly); + Core::OpenMode::ReadOnly); if (file_or_error.is_error()) goto fail; -- cgit v1.2.3