Commit 3f04c981 authored by Chris Rizzitello's avatar Chris Rizzitello

Style resync

Signed-off-by: Chris Rizzitello's avatarChris Rizzitello <rizzitello@kde.org>
parent 8e67bde7
......@@ -159,7 +159,7 @@ void AtCore::close()
exit(0);
}
Temperature* AtCore::temperature()
Temperature *AtCore::temperature()
{
return d->temperature.get();
}
......
......@@ -73,7 +73,7 @@ class ATCORE_EXPORT AtCore : public QObject
Q_PROPERTY(bool sdMount READ isSdMounted WRITE setSdMounted NOTIFY sdMountChanged)
Q_PROPERTY(QStringList sdFileList READ sdFileList NOTIFY sdCardFileListChanged)
Q_PROPERTY(bool autoTemperatureReport READ autoTemperatureReport WRITE setAutoTemperatureReport NOTIFY autoTemperatureReportChanged)
Q_PROPERTY(Temperature* temperature READ temperature CONSTANT)
Q_PROPERTY(Temperature *temperature READ temperature CONSTANT)
friend class AtCoreTests;
//Add friends as Sd Card support is extended to more plugins.
......@@ -207,7 +207,7 @@ public:
/**
* @brief The temperature of the current hotend as told by the Firmware.
*/
Temperature* temperature();
Temperature *temperature();
/**
* @brief Return the amount of miliseconds the serialTimer is set to. 0 = Disabled
......
......@@ -171,7 +171,7 @@ void MachineInfo::storeProfile(const QMap<MachineInfo::KEY, QVariant> &profile)
void MachineInfo::storeProfile(const QVariantMap &profile) const
{
m_settings->beginGroup(profile.first().toString());
for(auto it = profile.begin(), end = profile.end(); it != end; ++it){
for (auto it = profile.begin(), end = profile.end(); it != end; ++it) {
m_settings->setValue(it.key(), it.value());
}
m_settings->endGroup();
......@@ -188,7 +188,7 @@ QStringList MachineInfo::profileNames() const
QString MachineInfo::keyName(const MachineInfo::KEY key) const
{
auto it = decoderMap.find(key);
if(it != decoderMap.end()){
if (it != decoderMap.end()) {
return it.value().name;
}
return QString();
......
......@@ -132,7 +132,6 @@ public:
*/
Q_INVOKABLE QString keyName(const MachineInfo::KEY key) const;
signals:
/**
* @brief A profile has changed
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment