summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2/appearance.cpp
Unidiff
Diffstat (limited to 'noncore/settings/appearance2/appearance.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index 00128d3..9e5eede 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -555,28 +555,24 @@ void Appearance::accept ( )
555 fl |= ( it-> noFont ( ) ? 0x02 : 0 ); 555 fl |= ( it-> noFont ( ) ? 0x02 : 0 );
556 fl |= ( it-> noDeco ( ) ? 0x04 : 0 ); 556 fl |= ( it-> noDeco ( ) ? 0x04 : 0 );
557 exceptstr = QString::number ( fl, 32 ); 557 exceptstr = QString::number ( fl, 32 );
558 exceptstr.append( it-> pattern ( )); 558 exceptstr.append( it-> pattern ( ));
559 sl << exceptstr; 559 sl << exceptstr;
560 } 560 }
561 config. writeEntry ( "NoStyle", sl, ';' ); 561 config. writeEntry ( "NoStyle", sl, ';' );
562 config. writeEntry ( "ForceStyle", m_force-> isChecked ( )); 562 config. writeEntry ( "ForceStyle", m_force-> isChecked ( ));
563 563
564 config. write ( ); // need to flush the config info first 564 config. write ( ); // need to flush the config info first
565 Global::applyStyle ( ); 565 Global::applyStyle ( );
566 566
567 if ( QMessageBox::warning ( this, tr( "Restart" ), tr( "Do you want to restart %1 now?" ). arg ( ODevice::inst ( )-> system ( ) == System_Zaurus ? "Qtopia" : "Opie" ), tr( "Yes" ), tr( "No" ), 0, 0, 1 ) == 0 ) {
568 QCopEnvelope e( "QPE/System", "restart()" );
569 }
570
571 QDialog::accept ( ); 567 QDialog::accept ( );
572} 568}
573 569
574void Appearance::done ( int r ) 570void Appearance::done ( int r )
575{ 571{
576 QDialog::done ( r ); 572 QDialog::done ( r );
577 close ( ); 573 close ( );
578} 574}
579 575
580 576
581void Appearance::styleClicked ( int index ) 577void Appearance::styleClicked ( int index )
582{ 578{