summaryrefslogtreecommitdiff
path: root/noncore
authorsandman <sandman>2002-10-30 00:38:55 (UTC)
committer sandman <sandman>2002-10-30 00:38:55 (UTC)
commitdce0a0f2bf08bbc42dcd97fa9ced44739c7c7763 (patch) (side-by-side diff)
tree6044f0ac489243eb1fccb99805af89e2fc136684 /noncore
parent1e294abab44c96f1fdf4fe0e7083a19fbeb970e0 (diff)
downloadopie-dce0a0f2bf08bbc42dcd97fa9ced44739c7c7763.zip
opie-dce0a0f2bf08bbc42dcd97fa9ced44739c7c7763.tar.gz
opie-dce0a0f2bf08bbc42dcd97fa9ced44739c7c7763.tar.bz2
Workaround for some obscure gcc bug -- this fixes bug #363
I had to reorderd some lines, because if ( m_style_changed ) is always false if the preceding instruction is bool newtabpos = m_tabstyle_top-> isChecked ( );
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index 4132b30..303e0b9 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -382,2 +382,4 @@ Appearance::Appearance( QWidget* parent, const char* name, WFlags )
tw-> setCurrentTab ( styletab );
+
+ m_style_changed = m_font_changed = m_color_changed = m_deco_changed = false;
}
@@ -390,8 +392,7 @@ void Appearance::accept ( )
{
- Config config("qpe");
- config.setGroup( "Appearance" );
-
- int newtabstyle = m_tabstyle_list-> currentItem ( );
bool newtabpos = m_tabstyle_top-> isChecked ( );
+ int newtabstyle = m_tabstyle_list-> currentItem ( );
+ Config config ( "qpe" );
+ config. setGroup ( "Appearance" );