Skip to content
Snippets Groups Projects
Commit 3049ea45 authored by James Rowe's avatar James Rowe
Browse files

Change const char* to const char[]

parent 372245e0
No related branches found
No related tags found
No related merge requests found
...@@ -30,11 +30,11 @@ ...@@ -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 { ...@@ -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 { ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment