summaryrefslogtreecommitdiff
authorsandman <sandman>2002-10-01 20:59:06 (UTC)
committer sandman <sandman>2002-10-01 20:59:06 (UTC)
commit609b04531d5a1caae189397922eb0068aa0e2634 (patch) (side-by-side diff)
tree170ae3b543b48cf2007de7dc0b580778efce9a2f
parent2906826d9ebc268bc233f97956ee1dc5b338c69b (diff)
downloadopie-609b04531d5a1caae189397922eb0068aa0e2634.zip
opie-609b04531d5a1caae189397922eb0068aa0e2634.tar.gz
opie-609b04531d5a1caae189397922eb0068aa0e2634.tar.bz2
adjusted to new OFontSelector c'tor
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/settings/launcher/tabdialog.cpp2
-rw-r--r--noncore/settings/appearance2/appearance.cpp2
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 ( )
}
QWidget *TabDialog::createFontTab ( QWidget *parent )
{
- m_fontselect = new OFontSelector ( parent, "FontTab" );
+ m_fontselect = new OFontSelector ( false, parent, "FontTab" );
connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )),
this, SLOT( fontClicked ( const QFont & )));
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 )
QString familyStr = config.readEntry( "FontFamily", "Helvetica" );
QString styleStr = config.readEntry( "FontStyle", "Regular" );
int size = config.readNumEntry( "FontSize", 10 );
- m_fontselect = new OFontSelector ( parent, "FontTab" );
+ m_fontselect = new OFontSelector ( false, parent, "FontTab" );
m_fontselect-> setSelectedFont ( familyStr, styleStr, size );
connect( m_fontselect, SIGNAL( fontSelected ( const QFont & )),
this, SLOT( fontClicked ( const QFont & )));