Commit 4d9bb733 by Mathias Goldau

[CHANGE] Memeber variable did not start with m_ prefix

parent d8ae0784
......@@ -96,7 +96,7 @@ void WQtTextureSorter::update()
}
DatasetAccess ta = textures.getAccessObject();
DatasetAccess ta = m_textures.getAccessObject();
ta->beginRead();
if( ta->get().empty() )
......@@ -165,7 +165,7 @@ void WQtTextureSorter::moveItemDown()
{
unsigned int index = m_textureListWidget->currentIndex().row();
DatasetAccess ta = textures.getAccessObject();
DatasetAccess ta = m_textures.getAccessObject();
ta->beginRead();
if( index < ta->get().size() - 1 )
......@@ -203,7 +203,7 @@ void WQtTextureSorter::moveItemUp()
if( ci )
{
DatasetAccess ta = textures.getAccessObject();
DatasetAccess ta = m_textures.getAccessObject();
ta->beginWrite();
m_textureListWidget->insertItem( index - 1, ci );
......@@ -222,7 +222,7 @@ void WQtTextureSorter::moveItemUp()
bool WQtTextureSorter::isLess( boost::shared_ptr< WDataSet > lhs, boost::shared_ptr< WDataSet > rhs )
{
DatasetAccess ta = textures.getAccessObject();
DatasetAccess ta = m_textures.getAccessObject();
ta->beginRead();
DatasetContainerType::iterator itLHS = std::find( ta->get().begin(), ta->get().end(), lhs );
......
......@@ -75,7 +75,7 @@ private:
typedef std::vector< boost::shared_ptr< WDataSet > > DatasetContainerType; //!< Short for container we want to access b< WSharedSequenceContainer
typedef WSharedSequenceContainer< boost::shared_ptr< WDataSet >, DatasetContainerType > DatasetSharedContainerType; //!< The SharedContainer
typedef DatasetSharedContainerType::WSharedAccess DatasetAccess; //!< Shorthand for the access handler.
DatasetSharedContainerType textures; //!< Local list of of the textures to sort.
DatasetSharedContainerType m_textures; //!< Local list of of the textures to sort.
/**
* This function returns whether the dataset lhs is above rhs in the texture sorter.
......
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