summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 15:24:45 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 15:24:56 +0200
commitfe024a800dbbbf69f282aa53af7b88ee6c2d8672 (patch)
tree934ec2f769736dca7ea4897cfa174b73ac037331 /tdeui
parent0d22b7ffc6ba832bc396390dbc45a8a11efce476 (diff)
downloadtdelibs-fe024a800dbbbf69f282aa53af7b88ee6c2d8672.tar.gz
tdelibs-fe024a800dbbbf69f282aa53af7b88ee6c2d8672.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 0d8345e6f7f2402d3ee88c0eb3d89e0e839bc5b5)
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kdialogbase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/kdialogbase.cpp b/tdeui/kdialogbase.cpp
index e426df1a4..1f7fbd5e3 100644
--- a/tdeui/kdialogbase.cpp
+++ b/tdeui/kdialogbase.cpp
@@ -671,11 +671,11 @@ void KDialogBase::setButtonStyle( int style )
if( style < 0 || style >= ActionStyleMAX ) { style = ActionStyle0; }
d->mButton.style = style;
- const int *layout;
+ const unsigned int *layout;
int layoutMax = 0;
if (mMessageBoxMode)
{
- static const int layoutRule[5][6] =
+ static const unsigned int layoutRule[5][6] =
{
{Details,Stretch,User2|Stretch,User1|Stretch,Cancel|Stretch, Details|Filler},
{Details,Stretch,User2|Stretch,User1|Stretch,Cancel|Stretch, Details|Filler},
@@ -688,7 +688,7 @@ void KDialogBase::setButtonStyle( int style )
}
else if (mButtonOrientation == Qt::Horizontal)
{
- static const int layoutRule[5][10] =
+ static const unsigned int layoutRule[5][10] =
{
{Details,Help,Default,Stretch,User3,User2,User1,Ok,Apply|Try,Cancel|Close},
{Details,Help,Default,Stretch,User3,User2,User1,Cancel|Close,Apply|Try,Ok},
@@ -701,7 +701,7 @@ void KDialogBase::setButtonStyle( int style )
}
else
{
- static const int layoutRule[5][10] =
+ static const unsigned int layoutRule[5][10] =
{
{Ok,Apply|Try,User1,User2,User3,Stretch,Default,Cancel|Close,Help, Details},
//{Ok,Apply|Try,Cancel|Close,User1,User2,User3,Stretch, Default,Help, Details},