author | harlekin <harlekin> | 2002-04-12 00:10:00 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-04-12 00:10:00 (UTC) |
commit | 26efd0a7135834626b4e6f275e57e85a97abd34f (patch) (unidiff) | |
tree | b803f31e222d68f6acdfef9a10e6ccae683d4cb9 | |
parent | a1615d98bdd7430e0533c0325dfdc39bf6627ab2 (diff) | |
download | opie-26efd0a7135834626b4e6f275e57e85a97abd34f.zip opie-26efd0a7135834626b4e6f275e57e85a97abd34f.tar.gz opie-26efd0a7135834626b4e6f275e57e85a97abd34f.tar.bz2 |
take parent size
-rw-r--r-- | libopie/ofileselector.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc index bc7c6c2..c3a3514 100644 --- a/libopie/ofileselector.cc +++ b/libopie/ofileselector.cc | |||
@@ -78,8 +78,10 @@ namespace { | |||
78 | 78 | ||
79 | OFileSelector::OFileSelector(QWidget *wid, int mode, int selector, const QString &dirName, | 79 | OFileSelector::OFileSelector(QWidget *wid, int mode, int selector, const QString &dirName, |
80 | const QString &fileName, const QStringList &mimetypes ) : QWidget( wid ) | 80 | const QString &fileName, const QStringList &mimetypes ) : QWidget( wid ) |
81 | { | 81 | { |
82 | |||
83 | resize(wid->width(),wid->height()); | ||
82 | m_selector = selector; | 84 | m_selector = selector; |
83 | m_currentDir = dirName; | 85 | m_currentDir = dirName; |
84 | m_name = fileName; | 86 | m_name = fileName; |
85 | m_mimetypes = mimetypes; | 87 | m_mimetypes = mimetypes; |