forked from qt-creator/qt-creator
Incredibuild: Tr::tr and code cosmetics
Change-Id: Id2facedde38dd09311069711b9e621a95439d433 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -3,14 +3,20 @@
|
||||
|
||||
#include "commandbuilder.h"
|
||||
|
||||
#include "incredibuildtr.h"
|
||||
|
||||
using namespace Utils;
|
||||
|
||||
namespace IncrediBuild {
|
||||
namespace Internal {
|
||||
namespace IncrediBuild::Internal {
|
||||
|
||||
const char CUSTOMCOMMANDBUILDER_COMMAND[] = "IncrediBuild.BuildConsole.%1.Command";
|
||||
const char CUSTOMCOMMANDBUILDER_ARGS[] = "IncrediBuild.BuildConsole.%1.Arguments";
|
||||
|
||||
QString CommandBuilder::displayName() const
|
||||
{
|
||||
return Tr::tr("Custom Command");
|
||||
}
|
||||
|
||||
void CommandBuilder::fromMap(const QVariantMap &map)
|
||||
{
|
||||
m_command = FilePath::fromSettings(map.value(QString(CUSTOMCOMMANDBUILDER_COMMAND).arg(id())));
|
||||
@@ -36,5 +42,4 @@ void CommandBuilder::setArguments(const QString &arguments)
|
||||
m_args = arguments;
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace IncrediBuild
|
||||
} // IncrediBuild::Internal
|
||||
|
||||
Reference in New Issue
Block a user