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:
+1
-4
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user