mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Testing - Inspector building on GH #329
Add GitHub Actions for TInspector build and clang-format check Reorganize QT search to work with native Linux packages Reorganize build-and-test workflow to have actions
This commit is contained in:
@@ -155,7 +155,9 @@ void TInspector_OpenFileDialog::GetPluginRecentlyOpenedFiles(
|
||||
{
|
||||
if (!anItemIt.Key().IsEqual("recently_opened_files"))
|
||||
continue;
|
||||
#include <Standard_WarningsDisable.hxx>
|
||||
theFileNames = QString(anItemIt.Value().ToCString()).split(";", QString::SkipEmptyParts);
|
||||
#include <Standard_WarningsRestore.hxx>
|
||||
if (theFileNames.size() > RECENT_FILES_CACHE_SIZE)
|
||||
for (int i = 0; i < theFileNames.size() - RECENT_FILES_CACHE_SIZE; i++)
|
||||
theFileNames.removeFirst();
|
||||
|
Reference in New Issue
Block a user