summaryrefslogtreecommitdiffstats
path: root/examples/widgets/codeeditor/codeeditor.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-11-19 10:53:10 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-11-19 10:53:42 (GMT)
commit80dfb33cc5fec8fd19e78a959e02588ce58736ee (patch)
treed9afe6da9127c63409862623b5a4ffa4598e1bf2 /examples/widgets/codeeditor/codeeditor.cpp
parenta73e660fd05bafc402d63d71e811a621e46f452d (diff)
parent1b14c3d33dea0fe4814f2749c49cf916ca13e012 (diff)
downloadQt-80dfb33cc5fec8fd19e78a959e02588ce58736ee.zip
Qt-80dfb33cc5fec8fd19e78a959e02588ce58736ee.tar.gz
Qt-80dfb33cc5fec8fd19e78a959e02588ce58736ee.tar.bz2
Merge oslo-staging-2/4.6 into upstream/4.6
Diffstat (limited to 'examples/widgets/codeeditor/codeeditor.cpp')
-rw-r--r--examples/widgets/codeeditor/codeeditor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/codeeditor/codeeditor.cpp b/examples/widgets/codeeditor/codeeditor.cpp
index 4632466..e8eb8cf 100644
--- a/examples/widgets/codeeditor/codeeditor.cpp
+++ b/examples/widgets/codeeditor/codeeditor.cpp
@@ -50,7 +50,7 @@ CodeEditor::CodeEditor(QWidget *parent) : QPlainTextEdit(parent)
lineNumberArea = new LineNumberArea(this);
connect(this, SIGNAL(blockCountChanged(int)), this, SLOT(updateLineNumberAreaWidth(int)));
- connect(this, SIGNAL(updateRequest(const QRect &, int)), this, SLOT(updateLineNumberArea(const QRect &, int)));
+ connect(this, SIGNAL(updateRequest(QRect,int)), this, SLOT(updateLineNumberArea(QRect,int)));
connect(this, SIGNAL(cursorPositionChanged()), this, SLOT(highlightCurrentLine()));
updateLineNumberAreaWidth(0);