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: