diff options
| author | 2019-01-21 10:28:32 -0700 | |
|---|---|---|
| committer | 2019-01-21 10:28:32 -0700 | |
| commit | 3049ea45d3f1621e48714022a195f6a2971dce56 (patch) | |
| tree | a0fc21fcf2d49ff81938f0463cf3a5da4dcd3184 | |
| parent | Fix mingw compile error and warnings (diff) | |
| download | yuzu-3049ea45d3f1621e48714022a195f6a2971dce56.tar.gz yuzu-3049ea45d3f1621e48714022a195f6a2971dce56.tar.xz yuzu-3049ea45d3f1621e48714022a195f6a2971dce56.zip | |
Change const char* to const char[]
| -rw-r--r-- | src/yuzu/loading_screen.cpp | 8 |
1 files 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 @@ | |||
| 30 | #include <QMovie> | 30 | #include <QMovie> |
| 31 | #endif | 31 | #endif |
| 32 | 32 | ||
| 33 | constexpr const char* PROGRESSBAR_STYLE_PREPARE = R"( | 33 | constexpr const char PROGRESSBAR_STYLE_PREPARE[] = R"( |
| 34 | QProgressBar {} | 34 | QProgressBar {} |
| 35 | QProgressBar::chunk {})"; | 35 | QProgressBar::chunk {})"; |
| 36 | 36 | ||
| 37 | constexpr const char* PROGRESSBAR_STYLE_DECOMPILE = R"( | 37 | constexpr const char PROGRESSBAR_STYLE_DECOMPILE[] = R"( |
| 38 | QProgressBar { | 38 | QProgressBar { |
| 39 | background-color: black; | 39 | background-color: black; |
| 40 | border: 2px solid white; | 40 | border: 2px solid white; |
| @@ -45,7 +45,7 @@ QProgressBar::chunk { | |||
| 45 | background-color: #0ab9e6; | 45 | background-color: #0ab9e6; |
| 46 | })"; | 46 | })"; |
| 47 | 47 | ||
| 48 | constexpr const char* PROGRESSBAR_STYLE_BUILD = R"( | 48 | constexpr const char PROGRESSBAR_STYLE_BUILD[] = R"( |
| 49 | QProgressBar { | 49 | QProgressBar { |
| 50 | background-color: black; | 50 | background-color: black; |
| 51 | border: 2px solid white; | 51 | border: 2px solid white; |
| @@ -56,7 +56,7 @@ QProgressBar::chunk { | |||
| 56 | background-color: #ff3c28; | 56 | background-color: #ff3c28; |
| 57 | })"; | 57 | })"; |
| 58 | 58 | ||
| 59 | constexpr const char* PROGRESSBAR_STYLE_COMPLETE = R"( | 59 | constexpr const char PROGRESSBAR_STYLE_COMPLETE[] = R"( |
| 60 | QProgressBar { | 60 | QProgressBar { |
| 61 | background-color: #0ab9e6; | 61 | background-color: #0ab9e6; |
| 62 | border: 2px solid white; | 62 | border: 2px solid white; |