From 6faa391d3c0f087ac9311508b90a8db643cd09a2 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 10 Aug 2016 15:52:12 +0000 Subject: [PATCH] minor cleanups and corrections Signed-off-by: Ivailo Monev --- src/designer/shared/qdesigner_utils.cpp | 4 +--- src/gui/styles/qcleanlooksstyle.cpp | 1 - src/gui/styles/qplastiquestyle.cpp | 1 - src/xml/dom/qdom.cpp | 2 +- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/designer/shared/qdesigner_utils.cpp b/src/designer/shared/qdesigner_utils.cpp index 6fe7abbab..359157225 100644 --- a/src/designer/shared/qdesigner_utils.cpp +++ b/src/designer/shared/qdesigner_utils.cpp @@ -778,9 +778,7 @@ namespace qdesigner_internal QDESIGNER_SHARED_EXPORT bool runUIC(const QString &fileName, QByteArray& ba, QString &errorMessage) { QStringList argv; - QString binary = QLibraryInfo::location(QLibraryInfo::BinariesPath); - binary += QDir::separator(); - binary += QLatin1String("uic"); + QString binary = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator() + QLatin1String("uic"); argv += fileName; QProcess uic; uic.start(binary, argv); diff --git a/src/gui/styles/qcleanlooksstyle.cpp b/src/gui/styles/qcleanlooksstyle.cpp index 2d456300c..aa3f2f378 100644 --- a/src/gui/styles/qcleanlooksstyle.cpp +++ b/src/gui/styles/qcleanlooksstyle.cpp @@ -55,7 +55,6 @@ #include #include #include -#include #include #include #include diff --git a/src/gui/styles/qplastiquestyle.cpp b/src/gui/styles/qplastiquestyle.cpp index c22b9889b..042c437f7 100644 --- a/src/gui/styles/qplastiquestyle.cpp +++ b/src/gui/styles/qplastiquestyle.cpp @@ -84,7 +84,6 @@ static const int blueFrameWidth = 2; // with of line edit focus frame #include #include #include -#include #include #include #include diff --git a/src/xml/dom/qdom.cpp b/src/xml/dom/qdom.cpp index 94bb5e0ef..82931dd2d 100644 --- a/src/xml/dom/qdom.cpp +++ b/src/xml/dom/qdom.cpp @@ -2878,7 +2878,7 @@ bool QDomNode::isNotation() const If this function returns true, it does not imply that this object is a QDomProcessingInstruction; you can get the - QProcessingInstruction with toProcessingInstruction(). + QDomProcessingInstruction with toProcessingInstruction(). \sa toProcessingInstruction() */ -- 2.11.0