From 1525dea87df30fa7f28bf4b7d3a5030eca58692e Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Wed, 10 Oct 2012 23:17:17 +0200 Subject: [PATCH] Fix printing contiguous selected pages with bookmarks BUGS: 308200 FIXED-IN: 4.9.3 --- core/fileprinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/fileprinter.cpp b/core/fileprinter.cpp index 28d283998..811cdcaff 100644 --- a/core/fileprinter.cpp +++ b/core/fileprinter.cpp @@ -236,7 +236,7 @@ QString FilePrinter::pageListToPageRange( const QList &pageList ) if ( seqStart == seqEnd ) { pageRange.append(pageList[i]); } else { - pageRange.append("%1-%2").arg(seqStart).arg(seqEnd); + pageRange.append(QString("%1-%2").arg(seqStart).arg(seqEnd)); } seqStart = i + 1;