From 3049ea45d3f1621e48714022a195f6a2971dce56 Mon Sep 17 00:00:00 2001 From: James Rowe Date: Mon, 21 Jan 2019 10:28:32 -0700 Subject: Change const char* to const char[] --- src/yuzu/loading_screen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cpp index 8ac7f5059..907aac4f1 100644 --- a/src/yuzu/loading_screen.cpp +++ b/src/yuzu/loading_screen.cpp @@ -30,11 +30,11 @@ #include #endif -constexpr const char* PROGRESSBAR_STYLE_PREPARE = R"( +constexpr const char PROGRESSBAR_STYLE_PREPARE[] = R"( QProgressBar {} QProgressBar::chunk {})"; -constexpr const char* PROGRESSBAR_STYLE_DECOMPILE = R"( +constexpr const char PROGRESSBAR_STYLE_DECOMPILE[] = R"( QProgressBar { background-color: black; border: 2px solid white; @@ -45,7 +45,7 @@ QProgressBar::chunk { background-color: #0ab9e6; })"; -constexpr const char* PROGRESSBAR_STYLE_BUILD = R"( +constexpr const char PROGRESSBAR_STYLE_BUILD[] = R"( QProgressBar { background-color: black; border: 2px solid white; @@ -56,7 +56,7 @@ QProgressBar::chunk { background-color: #ff3c28; })"; -constexpr const char* PROGRESSBAR_STYLE_COMPLETE = R"( +constexpr const char PROGRESSBAR_STYLE_COMPLETE[] = R"( QProgressBar { background-color: #0ab9e6; border: 2px solid white; -- cgit v1.2.3