summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-12-19 15:13:34 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-20 09:53:04 -0800
commit9e57dd48260ecc52a1333e9c6298036d7c42f73d (patch)
tree8dcf10ae6fcf25c174f9e7cd30e5f2fa29f800d0 /qt-ui
parenta0b9daf63bfb0b5e7cd59806a9329382122dcac6 (diff)
downloadsubsurface-9e57dd48260ecc52a1333e9c6298036d7c42f73d.tar.gz
Code cleanup: QPair<int, int> -> qMakePair
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/tagwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/tagwidget.cpp b/qt-ui/tagwidget.cpp
index 2b180bab6..27c191440 100644
--- a/qt-ui/tagwidget.cpp
+++ b/qt-ui/tagwidget.cpp
@@ -44,7 +44,7 @@ QPair<int,int> TagWidget::getCursorTagPosition() {
start = 0;
end = 0;
}
- return QPair<int,int>(start,end);
+ return qMakePair(start,end);
}
enum ParseState {FINDSTART, FINDEND};