author | wazlaf <wazlaf> | 2002-10-13 11:19:40 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-10-13 11:19:40 (UTC) |
commit | 901531f0afcd36e5260cc4b452dde359d82bce85 (patch) (unidiff) | |
tree | 9030a524f15b05f204a02eadfcd36ba170060b30 | |
parent | fb76065a9041fb9c0fef43127509dcdb2478c1ab (diff) | |
download | opie-901531f0afcd36e5260cc4b452dde359d82bce85.zip opie-901531f0afcd36e5260cc4b452dde359d82bce85.tar.gz opie-901531f0afcd36e5260cc4b452dde359d82bce85.tar.bz2 |
segfault fix
-rw-r--r-- | noncore/apps/opie-console/emulation_widget.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/emulation_widget.cpp b/noncore/apps/opie-console/emulation_widget.cpp index 318d7bb..e11c5e4 100644 --- a/noncore/apps/opie-console/emulation_widget.cpp +++ b/noncore/apps/opie-console/emulation_widget.cpp | |||
@@ -26,13 +26,13 @@ EmulationWidget::EmulationWidget( const Profile& config, QWidget *parent, const | |||
26 | f_width = fm.maxWidth(); | 26 | f_width = fm.maxWidth(); |
27 | f_ascent = fm.ascent(); | 27 | f_ascent = fm.ascent(); |
28 | 28 | ||
29 | // give reasonable defaults to m_columns, m_lines | ||
30 | calcGeometry(); | ||
31 | |||
32 | // initialize scrollbar related vars | 29 | // initialize scrollbar related vars |
33 | m_scrollbar = new QScrollBar( this ); | 30 | m_scrollbar = new QScrollBar( this ); |
34 | m_scrollbar->setCursor( arrowCursor ); | 31 | m_scrollbar->setCursor( arrowCursor ); |
35 | 32 | ||
33 | // give reasonable defaults to m_columns, m_lines | ||
34 | calcGeometry(); | ||
35 | |||
36 | // load config | 36 | // load config |
37 | reloadConfig( config ); | 37 | reloadConfig( config ); |
38 | 38 | ||