aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp
diff options
context:
space:
mode:
authorWeblate <noreply@weblate.org>2017-08-02 20:51:49 +0000
committerWeblate <noreply@weblate.org>2017-08-02 20:51:49 +0000
commit0201dd4f85f96b43e57be244891685c04ac3b1bb (patch)
tree379cbf533de5a612ba4ec3d8a922fdf580d65b72 /src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp
parentTranslated using Weblate (Spanish) (diff)
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-0201dd4f85f96b43e57be244891685c04ac3b1bb.tar.gz
lumina-0201dd4f85f96b43e57be244891685c04ac3b1bb.tar.bz2
lumina-0201dd4f85f96b43e57be244891685c04ac3b1bb.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp')
-rw-r--r--src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp b/src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp
index 2c66144f..a560a36a 100644
--- a/src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp
+++ b/src-qt5/core/lumina-theme-engine/src/lthemeengine-style/lthemeengineproxystyle.cpp
@@ -14,16 +14,12 @@ lthemeengineProxyStyle::~lthemeengineProxyStyle(){
int lthemeengineProxyStyle::styleHint(QStyle::StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const{
if(hint == QStyle::SH_DialogButtonBox_ButtonsHaveIcons){
- if(m_dialogButtonsHaveIcons == Qt::Unchecked)
- return 0;
- else if(m_dialogButtonsHaveIcons == Qt::Checked)
- return 1;
+ if(m_dialogButtonsHaveIcons == Qt::Unchecked){ return 0; }
+ else if(m_dialogButtonsHaveIcons == Qt::Checked){ return 1; }
}
else if(hint == QStyle::QStyle::SH_ItemView_ActivateItemOnSingleClick){
- if(m_activateItemOnSingleClick == Qt::Unchecked)
- return 0;
- else if(m_activateItemOnSingleClick == Qt::Checked)
- return 1;
+ if(m_activateItemOnSingleClick == Qt::Unchecked){ return 0; }
+ else if(m_activateItemOnSingleClick == Qt::Checked){ return 1; }
}
return QProxyStyle::styleHint(hint, option, widget, returnData);
}
bgstack15