forked from qt-creator/qt-creator
Use FilePath in several file wizards
Change-Id: I9bab9d602096a3872f73fb16d901b8aedcd82516 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -32,19 +32,17 @@
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace QmakeProjectManager {
|
||||
namespace Internal {
|
||||
|
||||
// ----------- QtProjectParameters
|
||||
QtProjectParameters::QtProjectParameters() = default;
|
||||
|
||||
QString QtProjectParameters::projectPath() const
|
||||
FilePath QtProjectParameters::projectPath() const
|
||||
{
|
||||
QString rc = path;
|
||||
if (!rc.isEmpty())
|
||||
rc += QLatin1Char('/');
|
||||
rc += fileName;
|
||||
return rc;
|
||||
return path / fileName;
|
||||
}
|
||||
|
||||
// Write out a QT module line.
|
||||
|
||||
Reference in New Issue
Block a user