diff options
author | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-27 16:21:30 (GMT) |
---|---|---|
committer | Olivier Goffart <ogoffart@trolltech.com> | 2009-05-27 17:05:47 (GMT) |
commit | 665614ede1de33d5ccfacb81c1463896a99ffd86 (patch) | |
tree | 983cf4b2dcd739f5388a265384047ce2d0e1b8aa /src/gui/widgets/qframe.cpp | |
parent | 884eb97fe9eab4ee84dd8aafb026fd918906cf9a (diff) | |
download | Qt-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.cpp | 4 |
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; } /*! |