Windows package : Removed version in the install directory path

Windows : Object save figure in homePath

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@17 620bd6b2-0a58-f614-fd9a-1bd335dccda9
This commit is contained in:
matlabbe
2011-11-09 21:17:52 +00:00
parent ca47c87b67
commit 8cd2d70954
2 changed files with 3 additions and 5 deletions
+1 -4
View File
@@ -383,10 +383,7 @@ void Object::contextMenuEvent(QContextMenuEvent * event)
QString text;
if(_savedFileName.isEmpty())
{
#ifndef WIN32
_savedFileName = QDir::homePath();
#endif
_savedFileName+="/figure.png";
_savedFileName=QDir::homePath()+"/figure.png";
}
text = QFileDialog::getSaveFileName(this, tr("Save figure to ..."), _savedFileName, "*.png *.xpm *.jpg *.pdf");
if(!text.isEmpty())