author | sandman <sandman> | 2002-10-01 20:59:06 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-10-01 20:59:06 (UTC) |
commit | 609b04531d5a1caae189397922eb0068aa0e2634 (patch) (unidiff) | |
tree | 170ae3b543b48cf2007de7dc0b580778efce9a2f | |
parent | 2906826d9ebc268bc233f97956ee1dc5b338c69b (diff) | |
download | opie-609b04531d5a1caae189397922eb0068aa0e2634.zip opie-609b04531d5a1caae189397922eb0068aa0e2634.tar.gz opie-609b04531d5a1caae189397922eb0068aa0e2634.tar.bz2 |
adjusted to new OFontSelector c'tor
-rw-r--r-- | core/settings/launcher/tabdialog.cpp | 2 | ||||
-rw-r--r-- | noncore/settings/appearance2/appearance.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/settings/launcher/tabdialog.cpp b/core/settings/launcher/tabdialog.cpp index 75a3de5..6288f5f 100644 --- a/core/settings/launcher/tabdialog.cpp +++ b/core/settings/launcher/tabdialog.cpp | |||
@@ -306,9 +306,9 @@ TabDialog::~TabDialog ( ) | |||
306 | } | 306 | } |
307 | 307 | ||
308 | QWidget *TabDialog::createFontTab ( QWidget *parent ) | 308 | QWidget *TabDialog::createFontTab ( QWidget *parent ) |
309 | { | 309 | { |
310 | m_fontselect = new OFontSelector ( parent, "FontTab" ); | 310 | m_fontselect = new OFontSelector ( false, parent, "FontTab" ); |
311 | 311 | ||
312 | connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )), | 312 | connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )), |
313 | this, SLOT( fontClicked ( const QFont & ))); | 313 | this, SLOT( fontClicked ( const QFont & ))); |
314 | 314 | ||
diff --git a/noncore/settings/appearance2/appearance.cpp b/noncore/settings/appearance2/appearance.cpp index a5d216c..e269aec 100644 --- a/noncore/settings/appearance2/appearance.cpp +++ b/noncore/settings/appearance2/appearance.cpp | |||
@@ -250,9 +250,9 @@ QWidget *Appearance::createFontTab ( QWidget *parent ) | |||
250 | QString familyStr = config.readEntry( "FontFamily", "Helvetica" ); | 250 | QString familyStr = config.readEntry( "FontFamily", "Helvetica" ); |
251 | QString styleStr = config.readEntry( "FontStyle", "Regular" ); | 251 | QString styleStr = config.readEntry( "FontStyle", "Regular" ); |
252 | int size = config.readNumEntry( "FontSize", 10 ); | 252 | int size = config.readNumEntry( "FontSize", 10 ); |
253 | 253 | ||
254 | m_fontselect = new OFontSelector ( parent, "FontTab" ); | 254 | m_fontselect = new OFontSelector ( false, parent, "FontTab" ); |
255 | m_fontselect-> setSelectedFont ( familyStr, styleStr, size ); | 255 | m_fontselect-> setSelectedFont ( familyStr, styleStr, size ); |
256 | 256 | ||
257 | connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )), | 257 | connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )), |
258 | this, SLOT( fontClicked ( const QFont & ))); | 258 | this, SLOT( fontClicked ( const QFont & ))); |