author | llornkcor <llornkcor> | 2004-02-29 19:50:45 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-02-29 19:50:45 (UTC) |
commit | 225b92ec28bbe3a9368e8534323a3c335432e447 (patch) (unidiff) | |
tree | fd87695f00a655bcfa0a9276bb43dc9ac2e1fa13 | |
parent | 1a59dd467d210703b69d2d694f95988f2e97c27f (diff) | |
download | opie-225b92ec28bbe3a9368e8534323a3c335432e447.zip opie-225b92ec28bbe3a9368e8534323a3c335432e447.tar.gz opie-225b92ec28bbe3a9368e8534323a3c335432e447.tar.bz2 |
initialize int
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp index 2e3e0f5..de5e585 100644 --- a/core/apps/embeddedkonsole/TEWidget.cpp +++ b/core/apps/embeddedkonsole/TEWidget.cpp | |||
@@ -1221,17 +1221,17 @@ void TEWidget::clearImage() | |||
1221 | } | 1221 | } |
1222 | 1222 | ||
1223 | // Create Image /////////////////////////////////////////////////////// | 1223 | // Create Image /////////////////////////////////////////////////////// |
1224 | 1224 | ||
1225 | void TEWidget::calcGeometry() | 1225 | void TEWidget::calcGeometry() |
1226 | { | 1226 | { |
1227 | int showhscrollbar = 1; | 1227 | int showhscrollbar = 1; |
1228 | int hwidth = 0; | 1228 | int hwidth = 0; |
1229 | int dcolumns; | 1229 | int dcolumns = 0; |
1230 | Config cfg( "Konsole" ); | 1230 | Config cfg( "Konsole" ); |
1231 | cfg.setGroup("ScrollBar"); | 1231 | cfg.setGroup("ScrollBar"); |
1232 | useHorzScroll=cfg.readBoolEntry("HorzScroll",0); | 1232 | useHorzScroll=cfg.readBoolEntry("HorzScroll",0); |
1233 | 1233 | ||
1234 | if(vcolumns == 0) showhscrollbar = 0; | 1234 | if(vcolumns == 0) showhscrollbar = 0; |
1235 | if(showhscrollbar == 1) hwidth = QApplication::style().scrollBarExtent().width(); | 1235 | if(showhscrollbar == 1) hwidth = QApplication::style().scrollBarExtent().width(); |
1236 | 1236 | ||
1237 | scrollbar->resize(QApplication::style().scrollBarExtent().width(), | 1237 | scrollbar->resize(QApplication::style().scrollBarExtent().width(), |