Fuel

Diff
Login

Differences From Artifact [35de92266b]:

To Artifact [149a4bdf9a]:


1828
1829
1830
1831
1832
1833
1834






1835
1836
1837
1838
1839
1840
1841
{
	const QItemSelection &selection =  ui->treeView->selectionModel()->selection();

	if(selection.indexes().count()!=1)
		return;

	QModelIndex index = selection.indexes().at(0);






	QString target = repoDirModel.data(index, REPODIRMODEL_ROLE_PATH).toString();
	target = getCurrentWorkspace() + PATH_SEP + target;

	QUrl url = QUrl::fromLocalFile(target);
	QDesktopServices::openUrl(url);
}








>
>
>
>
>
>







1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
{
	const QItemSelection &selection =  ui->treeView->selectionModel()->selection();

	if(selection.indexes().count()!=1)
		return;

	QModelIndex index = selection.indexes().at(0);
	on_treeView_doubleClicked(index);
}

//------------------------------------------------------------------------------
void MainWindow::on_treeView_doubleClicked(const QModelIndex &index)
{
	QString target = repoDirModel.data(index, REPODIRMODEL_ROLE_PATH).toString();
	target = getCurrentWorkspace() + PATH_SEP + target;

	QUrl url = QUrl::fromLocalFile(target);
	QDesktopServices::openUrl(url);
}

1998
1999
2000
2001
2002
2003
2004
2005
2006
	}

	log(tr("Folder renamed completed. Don't forget to commit!\n"));

_exit:
	refresh();
}










<
2004
2005
2006
2007
2008
2009
2010
2011

	}

	log(tr("Folder renamed completed. Don't forget to commit!\n"));

_exit:
	refresh();
}