Skip to content

Commit

Permalink
added auto grabbing status of camera in plugin's context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
itobiege committed Oct 22, 2013
1 parent afda90d commit 24c0a9c
Show file tree
Hide file tree
Showing 8 changed files with 247 additions and 250 deletions.
2 changes: 0 additions & 2 deletions Qitom/organizer/addInManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,6 @@ namespace ito
pluginLoadStatus.messages.append(QPair<ito::tPluginLoadStatusFlag, QString>(ito::plsfWarning, QObject::tr("Plugin %1 (DataIO) already exists. Duplicate rejected.").arg(plugin->objectName())));
return retWarning;
}

}

//----------------------------------------------------------------------------------------------------------------------------------
Expand All @@ -517,7 +516,6 @@ namespace ito
pluginLoadStatus.messages.append(QPair<ito::tPluginLoadStatusFlag, QString>(ito::plsfWarning, QObject::tr("Plugin %1 (Actuator) already exists. Duplicate rejected.").arg(plugin->objectName())));
return retWarning;
}
return retOk;
}

//----------------------------------------------------------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion Qitom/python/pythonPlugins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ template<typename _Tp> PyObject* setParam(_Tp *addInObj, PyObject *args)
{
if (!addInObj->isAlive())
{
ret += ito::RetVal(ito::retError, 0, "timeout.");
ret += ito::RetVal(ito::retError, 0, QObject::tr("timeout.").toAscii().data());
timeout = true;
break;
}
Expand Down
Loading

0 comments on commit 24c0a9c

Please sign in to comment.