Minor comment and coding style fixes
Minor comment and coding style fixes in ResourceModel and ResourceBrowser.
This commit is contained in:
@@ -269,6 +269,8 @@ void ResourceBrowser::startItemPreview( const QModelIndex & _idx )
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void ResourceBrowser::setFocusAndPreview( const QModelIndex & _idx )
|
||||
{
|
||||
// transfor focus to the treeview. for some reason you have to
|
||||
@@ -291,7 +293,7 @@ void ResourceBrowser::stopItemPreview( const QModelIndex & )
|
||||
|
||||
|
||||
void ResourceBrowser::currentChanged( const QModelIndex & current,
|
||||
const QModelIndex & previous )
|
||||
const QModelIndex & previous )
|
||||
{
|
||||
|
||||
// stop previous previews
|
||||
@@ -303,6 +305,7 @@ void ResourceBrowser::currentChanged( const QModelIndex & current,
|
||||
|
||||
|
||||
|
||||
|
||||
void ResourceBrowser::stopPreview()
|
||||
{
|
||||
m_previewer.stopPreview();
|
||||
|
||||
Reference in New Issue
Block a user