summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-01 22:39:41 (UTC)
committer sandman <sandman>2002-10-01 22:39:41 (UTC)
commit73f578b88919d8f7220c3f647c4173ffa4e4512b (patch) (side-by-side diff)
treeb925ef79ffafa54d8e9f81e4a3f1bcc100f6babd
parent536fffa98e7fb205fe1851caaf29011e3fad79cc (diff)
downloadopie-73f578b88919d8f7220c3f647c4173ffa4e4512b.zip
opie-73f578b88919d8f7220c3f647c4173ffa4e4512b.tar.gz
opie-73f578b88919d8f7220c3f647c4173ffa4e4512b.tar.bz2
fixed the missing/wrong icons in the tabbar
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/appearance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp
index e269aec..43ff24c 100644
--- a/noncore/settings/appearance2/appearance.cpp
+++ b/noncore/settings/appearance2/appearance.cpp
@@ -338,50 +338,50 @@ QWidget *Appearance::createGuiTab ( QWidget *parent )
return tab;
}
Appearance::Appearance( QWidget* parent, const char* name, WFlags )
: QDialog ( parent, name, true )
{
setCaption( tr( "Appearance" ) );
Config config( "qpe" );
config.setGroup( "Appearance" );
QVBoxLayout *top = new QVBoxLayout ( this, 4, 4 );
m_sample = new SampleWindow ( this );
m_sample-> setDecoration ( new DefaultWindowDecoration ( ));
OTabWidget* tw = new OTabWidget ( this, "tabwidget", OTabWidget::Global, OTabWidget::Bottom );
QWidget *styletab;
tw-> addTab ( styletab = createStyleTab ( tw ), "appearance/styletabicon.png", tr( "Style" ));
tw-> addTab ( createFontTab ( tw ), "appearance/fonttabicon.png", tr( "Font" ));
tw-> addTab ( createColorTab ( tw ), "appearance/colorstabicon.png", tr( "Colors" ) );
- tw-> addTab ( createDecoTab ( tw ), "appearance/styletabicon.png", tr( "Windows" ) );
- tw-> addTab ( createGuiTab ( tw ), "appearance/backgroundtabicon.png", tr( "Gui" ) );
+ tw-> addTab ( createDecoTab ( tw ), "appearance/decotabicon.png", tr( "Windows" ) );
+ tw-> addTab ( createGuiTab ( tw ), "appearance/advancedtabicon.png", tr( "Gui" ) );
top-> addWidget ( tw, 10 );
top-> addWidget ( m_sample, 1 );
tw-> setCurrentTab ( styletab );
}
Appearance::~Appearance()
{
}
void Appearance::accept ( )
{
Config config("qpe");
config.setGroup( "Appearance" );
int newtabstyle = m_tabstyle_list-> currentItem ( );
bool newtabpos = m_tabstyle_top-> isChecked ( );
if ( m_style_changed ) {
StyleListItem *item = (StyleListItem *) m_style_list-> item ( m_style_list-> currentItem ( ));
if ( item )
config.writeEntry( "Style", item-> key ( ));