summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-02-29 19:50:45 (UTC)
committer llornkcor <llornkcor>2004-02-29 19:50:45 (UTC)
commit225b92ec28bbe3a9368e8534323a3c335432e447 (patch) (side-by-side diff)
treefd87695f00a655bcfa0a9276bb43dc9ac2e1fa13
parent1a59dd467d210703b69d2d694f95988f2e97c27f (diff)
downloadopie-225b92ec28bbe3a9368e8534323a3c335432e447.zip
opie-225b92ec28bbe3a9368e8534323a3c335432e447.tar.gz
opie-225b92ec28bbe3a9368e8534323a3c335432e447.tar.bz2
initialize int
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/embeddedkonsole/TEWidget.cpp2
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
@@ -1223,13 +1223,13 @@ void TEWidget::clearImage()
// Create Image ///////////////////////////////////////////////////////
void TEWidget::calcGeometry()
{
int showhscrollbar = 1;
int hwidth = 0;
- int dcolumns;
+ int dcolumns = 0;
Config cfg( "Konsole" );
cfg.setGroup("ScrollBar");
useHorzScroll=cfg.readBoolEntry("HorzScroll",0);
if(vcolumns == 0) showhscrollbar = 0;
if(showhscrollbar == 1) hwidth = QApplication::style().scrollBarExtent().width();