Change const char* to const char[]

merge-requests/60/head
James Rowe 2019-01-21 10:28:32 +07:00
parent 372245e0b5
commit 3049ea45d3
1 changed files with 4 additions and 4 deletions

@ -30,11 +30,11 @@
#include <QMovie> #include <QMovie>
#endif #endif
constexpr const char* PROGRESSBAR_STYLE_PREPARE = R"( constexpr const char PROGRESSBAR_STYLE_PREPARE[] = R"(
QProgressBar {} QProgressBar {}
QProgressBar::chunk {})"; QProgressBar::chunk {})";
constexpr const char* PROGRESSBAR_STYLE_DECOMPILE = R"( constexpr const char PROGRESSBAR_STYLE_DECOMPILE[] = R"(
QProgressBar { QProgressBar {
background-color: black; background-color: black;
border: 2px solid white; border: 2px solid white;
@ -45,7 +45,7 @@ QProgressBar::chunk {
background-color: #0ab9e6; background-color: #0ab9e6;
})"; })";
constexpr const char* PROGRESSBAR_STYLE_BUILD = R"( constexpr const char PROGRESSBAR_STYLE_BUILD[] = R"(
QProgressBar { QProgressBar {
background-color: black; background-color: black;
border: 2px solid white; border: 2px solid white;
@ -56,7 +56,7 @@ QProgressBar::chunk {
background-color: #ff3c28; background-color: #ff3c28;
})"; })";
constexpr const char* PROGRESSBAR_STYLE_COMPLETE = R"( constexpr const char PROGRESSBAR_STYLE_COMPLETE[] = R"(
QProgressBar { QProgressBar {
background-color: #0ab9e6; background-color: #0ab9e6;
border: 2px solid white; border: 2px solid white;