summaryrefslogtreecommitdiff
Unidiff
Diffstat (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
@@ -380,6 +380,8 @@ Appearance::Appearance( QWidget* parent, const char* name, WFlags )
380 top-> addWidget ( m_sample, 1 ); 380 top-> addWidget ( m_sample, 1 );
381 381
382 tw-> setCurrentTab ( styletab ); 382 tw-> setCurrentTab ( styletab );
383
384 m_style_changed = m_font_changed = m_color_changed = m_deco_changed = false;
383} 385}
384 386
385Appearance::~Appearance() 387Appearance::~Appearance()
@@ -388,12 +390,11 @@ Appearance::~Appearance()
388 390
389void Appearance::accept ( ) 391void Appearance::accept ( )
390{ 392{
391 Config config("qpe");
392 config.setGroup( "Appearance" );
393
394 int newtabstyle = m_tabstyle_list-> currentItem ( );
395 bool newtabpos = m_tabstyle_top-> isChecked ( ); 393 bool newtabpos = m_tabstyle_top-> isChecked ( );
394 int newtabstyle = m_tabstyle_list-> currentItem ( );
396 395
396 Config config ( "qpe" );
397 config. setGroup ( "Appearance" );
397 398
398 if ( m_style_changed ) { 399 if ( m_style_changed ) {
399 StyleListItem *item = (StyleListItem *) m_style_list-> item ( m_style_list-> currentItem ( )); 400 StyleListItem *item = (StyleListItem *) m_style_list-> item ( m_style_list-> currentItem ( ));