forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.3'
Conflicts: qtcreator.pri share/qtcreator/dumper/dumper.py share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp src/plugins/valgrind/valgrind.pro tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp Change-Id: Ic2d347012d89d697e6382f156e64f9619da88300
This commit is contained in:
@@ -248,7 +248,7 @@ QString Error::toXml() const
|
||||
if (!frame.file().isEmpty()) {
|
||||
stream << " <file>" << frame.file() << "</file>\n";
|
||||
}
|
||||
if (!frame.line() == -1) {
|
||||
if (frame.line() != -1) {
|
||||
stream << " <line>" << frame.line() << "</line>";
|
||||
}
|
||||
stream << " </frame>\n";
|
||||
|
||||
@@ -43,9 +43,7 @@ namespace XmlProtocol {
|
||||
class Frame::Private : public QSharedData
|
||||
{
|
||||
public:
|
||||
explicit Private() :
|
||||
ip(0), line( -1 )
|
||||
{}
|
||||
Private() : ip(0), line(-1) {}
|
||||
|
||||
bool operator==(const Private &other) const
|
||||
{
|
||||
@@ -74,7 +72,7 @@ Frame::~Frame()
|
||||
}
|
||||
|
||||
Frame::Frame(const Frame &other) :
|
||||
d( other.d )
|
||||
d(other.d)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user