summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qframe.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-27 16:21:30 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-27 17:05:47 (GMT)
commit665614ede1de33d5ccfacb81c1463896a99ffd86 (patch)
tree983cf4b2dcd739f5388a265384047ce2d0e1b8aa /src/gui/widgets/qframe.cpp
parent884eb97fe9eab4ee84dd8aafb026fd918906cf9a (diff)
downloadQt-665614ede1de33d5ccfacb81c1463896a99ffd86.zip
Qt-665614ede1de33d5ccfacb81c1463896a99ffd86.tar.gz
Qt-665614ede1de33d5ccfacb81c1463896a99ffd86.tar.bz2
Remove used variable
olsFrameStyle was old. Reviewed-by: jbache
Diffstat (limited to 'src/gui/widgets/qframe.cpp')
-rw-r--r--src/gui/widgets/qframe.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/widgets/qframe.cpp b/src/gui/widgets/qframe.cpp
index 6f81331..22a990b 100644
--- a/src/gui/widgets/qframe.cpp
+++ b/src/gui/widgets/qframe.cpp
@@ -59,8 +59,7 @@ QFramePrivate::QFramePrivate()
midLineWidth(0),
frameWidth(0),
leftFrameWidth(0), rightFrameWidth(0),
- topFrameWidth(0), bottomFrameWidth(0),
- oldFrameStyle(QFrame::NoFrame | QFrame::Plain)
+ topFrameWidth(0), bottomFrameWidth(0)
{
}
@@ -333,7 +332,6 @@ void QFrame::setFrameStyle(int style)
d->frameStyle = (short)style;
update();
d->updateFrameWidth();
- d->oldFrameStyle = (short)style;
}
/*!