summaryrefslogtreecommitdiffstats
path: root/qt-ui/tagwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/tagwidget.cpp')
-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};