Update OpenRGB API version

This commit is contained in:
morg 2023-01-19 11:22:38 +01:00
parent dd99178ec3
commit 7bb89c72d9
3 changed files with 9 additions and 6 deletions

@ -1 +1 @@
Subproject commit fb88964b8e514cdf4eb22da314e13f8db06a3636
Subproject commit 7bf0e40fd87ac6f8b54424e22e32108dedc0f378

View file

@ -5,8 +5,8 @@
#include <QLineEdit>
#include <QMessageBox>
#include <QSignalMapper>
#include <fstream>
#include "filesystem.h"
#ifndef _WIN32
#include <unistd.h>
@ -819,7 +819,7 @@ void OpenRGBE131ReceiverDialog::on_ButtonSaveMap_clicked()
/*-----------------------------------------------------*\
| Write out the JSON structure to a file |
\*-----------------------------------------------------*/
std::ofstream universe_file(resource_manager->GetConfigurationDirectory() + "/plugins/E131UniverseMap.json", std::ios::out | std::ios::binary);
std::ofstream universe_file(resource_manager->GetConfigurationDirectory() / "plugins" / "settings" / "E131UniverseMap.json", std::ios::out | std::ios::binary);
if(universe_file)
{
@ -846,7 +846,7 @@ void OpenRGBE131ReceiverDialog::on_ButtonLoadMap_clicked()
/*---------------------------------------------------------*\
| Open input file in binary mode |
\*---------------------------------------------------------*/
std::ifstream universe_file(resource_manager->GetConfigurationDirectory() + "/plugins/E131UniverseMap.json", std::ios::in | std::ios::binary);
std::ifstream universe_file(resource_manager->GetConfigurationDirectory() / "plugins" / "settings" / "E131UniverseMap.json", std::ios::in | std::ios::binary);
/*---------------------------------------------------------*\
| Read settings into JSON store |

View file

@ -14,6 +14,11 @@ QT +=
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
win32:CONFIG += c++17
unix:!macx {
QMAKE_CXXFLAGS += -std=c++17
}
#-----------------------------------------------------------------------------------------------#
# Automatically generated build information #
@ -31,8 +36,6 @@ DEFINES +=
TEMPLATE = lib
DEFINES += ORGBEXAMPLEPLUGIN_LIBRARY
CONFIG += c++11
#-----------------------------------------------------------------------------------------------#
# Plugin Project Files #
#-----------------------------------------------------------------------------------------------#