forked from qt-creator/qt-creator
Fix compile before current Qt dev
Amends 0120e462b2.
Change-Id: If9f443c03009bf8728497f10c8fb81f37fa1a63d
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -42,11 +42,13 @@
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
using namespace Qt;
|
||||
|
||||
// Read and write rectangle in X11 resource syntax "12x12+4+3"
|
||||
static QString rectangleToString(const QRect &r)
|
||||
{
|
||||
QString result;
|
||||
QTextStream(&result) << r.width() << 'x' << r.height() << Qt::forcesign << r.x() << r.y();
|
||||
QTextStream(&result) << r.width() << 'x' << r.height() << forcesign << r.x() << r.y();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user