Change FIXME to plain comment, there apparently is nothing to do about it here
Change-Id: I81e50e7e604e8ef17ba0d369e8987f4c840f8361
This commit is contained in:
@@ -891,8 +891,9 @@ static gboolean postDocumentLoad(gpointer pData)
|
|||||||
|
|
||||||
std::unique_lock<std::mutex> aGuard(g_aLOKMutex);
|
std::unique_lock<std::mutex> aGuard(g_aLOKMutex);
|
||||||
priv->m_pDocument->pClass->initializeForRendering(priv->m_pDocument, priv->m_aRenderingArguments.c_str());
|
priv->m_pDocument->pClass->initializeForRendering(priv->m_pDocument, priv->m_aRenderingArguments.c_str());
|
||||||
// FIXME: This returns the view id of the "current" view, but sadly if you load multiple
|
// This returns the view id of the "current" view, but sadly if you load multiple documents that
|
||||||
// documents that is apparently not a view showing the most recently loaded document.
|
// is apparently not a view showing the most recently loaded document. Not much we can do here,
|
||||||
|
// though. If that is fixed, this comment becomes incorrect.
|
||||||
priv->m_nViewId = priv->m_pDocument->pClass->getView(priv->m_pDocument);
|
priv->m_nViewId = priv->m_pDocument->pClass->getView(priv->m_pDocument);
|
||||||
g_aAuthorViews[getAuthorRenderingArgument(priv)] = priv->m_nViewId;
|
g_aAuthorViews[getAuthorRenderingArgument(priv)] = priv->m_nViewId;
|
||||||
priv->m_pDocument->pClass->registerCallback(priv->m_pDocument, callbackWorker, pLOKDocView);
|
priv->m_pDocument->pClass->registerCallback(priv->m_pDocument, callbackWorker, pLOKDocView);
|
||||||
|
Reference in New Issue
Block a user