Commit c0455ef7 authored by Jan Möbius's avatar Jan Möbius

Fixed misleading indentation warning

parent 767d03f4
......@@ -1288,14 +1288,14 @@ void Core::slotSetSlotDescription(QString _slotName, QString _slotDescrip
//handle plugin slots
//find plugin
PluginInfo* pluginInfo = 0;
PluginInfo* pluginInfo = 0;
for (uint i=0; i < plugins_.size(); i++)
if (plugins_[i].plugin == sender())
pluginInfo = &plugins_[i];
if (pluginInfo == 0){
emit log(LOGERR, tr("Unable to set slot-description. Plugin not found!"));
if (pluginInfo == 0){
emit log(LOGERR, tr("Unable to set slot-description. Plugin not found!"));
return;
}
......
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