summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-05 17:10:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-05 17:27:52 +0300
commit3ac81fa84a3d1866c74ccb051c0661329bff774e (patch)
tree4226baddf64a667a2f2d77d445b894fe7bb29578 /src/gui/widgets/tabs
parent011d05e7ff9abfc6052951fee954b1c193ea4fff (diff)
downloadmanaplus-3ac81fa84a3d1866c74ccb051c0661329bff774e.tar.gz
manaplus-3ac81fa84a3d1866c74ccb051c0661329bff774e.tar.bz2
manaplus-3ac81fa84a3d1866c74ccb051c0661329bff774e.tar.xz
manaplus-3ac81fa84a3d1866c74ccb051c0661329bff774e.zip
Remove quotes from pragmas.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r--src/gui/widgets/tabs/setup_colors.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tabs/setup_colors.cpp b/src/gui/widgets/tabs/setup_colors.cpp
index d2f51afe5..d4440d0f1 100644
--- a/src/gui/widgets/tabs/setup_colors.cpp
+++ b/src/gui/widgets/tabs/setup_colors.cpp
@@ -288,8 +288,8 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED)
// probably need combite both switches and add all mssing color ids.
- PRAGMA45("GCC diagnostic push")
- PRAGMA45("GCC diagnostic ignored \"-Wswitch-enum\"")
+ PRAGMA45(GCC diagnostic push)
+ PRAGMA45(GCC diagnostic ignored "-Wswitch-enum")
switch (type)
{
case UserColorId::AIR_COLLISION_HIGHLIGHT:
@@ -364,7 +364,7 @@ void Setup_Colors::valueChanged(const SelectionEvent &event A_UNUSED)
mGradDelaySlider->setScale(20, 100);
break;
}
- PRAGMA45("GCC diagnostic pop")
+ PRAGMA45(GCC diagnostic pop)
if (grad != GradientType::STATIC && grad != GradientType::PULSE)
{ // If nonstatic color, don't display the current, but the committed
// color at the sliders