summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/qframe.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-05-27 18:21:30 +0200
committerOlivier Goffart <ogoffart@trolltech.com>2009-05-27 19:05:47 +0200
commit665614ede1de33d5ccfacb81c1463896a99ffd86 (patch)
tree983cf4b2dcd739f5388a265384047ce2d0e1b8aa /src/gui/widgets/qframe.cpp
parent884eb97fe9eab4ee84dd8aafb026fd918906cf9a (diff)
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 6f813310fe..22a990ba0d 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;
}
/*!