summaryrefslogtreecommitdiff
path: root/core/settings/launcher/tabssettings.cpp
authorsandman <sandman>2002-09-25 23:11:05 (UTC)
committer sandman <sandman>2002-09-25 23:11:05 (UTC)
commit0c6ce9f1600bf1efb7736f87fd14dd8215db851f (patch) (unidiff)
tree13d1367dc79a64d44ef83f57259e04a0be099f8c /core/settings/launcher/tabssettings.cpp
parentbdbd20a9a0415e2284e21923ed03d4ca3f6615e8 (diff)
downloadopie-0c6ce9f1600bf1efb7736f87fd14dd8215db851f.zip
opie-0c6ce9f1600bf1efb7736f87fd14dd8215db851f.tar.gz
opie-0c6ce9f1600bf1efb7736f87fd14dd8215db851f.tar.bz2
load and save of tab settings works now -- bg image still missing
Diffstat (limited to 'core/settings/launcher/tabssettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/tabssettings.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp
index fc2d2c9..ae78733 100644
--- a/core/settings/launcher/tabssettings.cpp
+++ b/core/settings/launcher/tabssettings.cpp
@@ -121,7 +121,9 @@ void TabsSettings::readTabSettings ( )
121 tc. m_font_family = f [0]; 121 tc. m_font_family = f [0];
122 tc. m_font_size = f [1]. toInt ( ); 122 tc. m_font_size = f [1]. toInt ( );
123 tc. m_font_style = f [2];
123 } else { 124 } else {
124 tc. m_font_family = font ( ). family ( ); 125 tc. m_font_family = font ( ). family ( );
125 tc. m_font_size = font ( ). pointSize ( ); 126 tc. m_font_size = font ( ). pointSize ( );
127 tc. m_font_style = "Regular";
126 } 128 }
127 m_tabs [*it] = tc; 129 m_tabs [*it] = tc;
@@ -159,5 +161,5 @@ void TabsSettings::accept ( )
159 cfg. writeEntry ( "TextColor", tc. m_text_color ); 161 cfg. writeEntry ( "TextColor", tc. m_text_color );
160 162
161 QString f = tc. m_font_family + "," + QString::number ( tc. m_font_size ) + ",50,0"; 163 QString f = tc. m_font_family + "," + QString::number ( tc. m_font_size ) + "," + tc. m_font_style + ",0";
162 cfg. writeEntry ( "Font", f ); 164 cfg. writeEntry ( "Font", f );
163 QCopEnvelope be ( "QPE/Launcher", "setTabBackground(QString,int,QString)" ); 165 QCopEnvelope be ( "QPE/Launcher", "setTabBackground(QString,int,QString)" );