From b4ab1d36157d07643601a4c8f9e3e6a042c9f213 Mon Sep 17 00:00:00 2001 From: AKMaily Date: Thu, 24 Oct 2024 11:09:08 +0200 Subject: [PATCH] Case sensitivity wrong --- CMakeLists.txt | 2 +- src/handler.cpp | 2 -- src/{LoadFiles.cpp => loadingFiles.cpp} | 4 ++-- src/{LoadFiles.hpp => loadingFiles.hpp} | 0 src/mainWindow.hpp | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) rename src/{LoadFiles.cpp => loadingFiles.cpp} (98%) rename src/{LoadFiles.hpp => loadingFiles.hpp} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index b49a0320..d3c31374 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ include(cmake_helpers/FindOrFetch.cmake) add_executable(OmniView src/main.cpp - src/loadFiles.cpp + src/loadingFiles.cpp src/mainWindow.cpp src/generateTrainingData.cpp src/info_popup.cpp diff --git a/src/handler.cpp b/src/handler.cpp index e862407b..2cd19619 100644 --- a/src/handler.cpp +++ b/src/handler.cpp @@ -458,8 +458,6 @@ void addPlotFromFile(externData &dataObj) { std::cerr << "Error: To much units provided for axis labels." << std::endl; return; } - std::cout << dataObj.units[0].c_str() << std::endl; - std::cout << dataObj.units[1].c_str() << std::endl; ImPlot::SetupAxis(ImAxis_X1, dataObj.units[0].c_str()); ImPlot::SetupAxis(ImAxis_Y1, dataObj.units[1].c_str()); diff --git a/src/LoadFiles.cpp b/src/loadingFiles.cpp similarity index 98% rename from src/LoadFiles.cpp rename to src/loadingFiles.cpp index ee1586f9..ccaec98d 100644 --- a/src/LoadFiles.cpp +++ b/src/loadingFiles.cpp @@ -1,4 +1,4 @@ -#include "loadFiles.hpp" +#include "loadingFiles.hpp" namespace fs = std::filesystem; @@ -180,7 +180,7 @@ void filesList(std::vector &dataObjects) { // Show list of files in } ImGui::SameLine(); - ImGui::TextUnformatted(obj.filepath.c_str()); + ImGui::TextUnformatted(obj.filepath.string().c_str()); ImGui::SameLine(); //Deleting Loaded Data diff --git a/src/LoadFiles.hpp b/src/loadingFiles.hpp similarity index 100% rename from src/LoadFiles.hpp rename to src/loadingFiles.hpp diff --git a/src/mainWindow.hpp b/src/mainWindow.hpp index 9755a601..2e849490 100644 --- a/src/mainWindow.hpp +++ b/src/mainWindow.hpp @@ -3,7 +3,7 @@ #include #include #include -#include "loadFiles.hpp" +#include "loadingFiles.hpp" class mainWindow{ public: