Commit 1e7e645a authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[STYLE]

parent 931b4b25
...@@ -547,7 +547,7 @@ WQtNetworkEditor* WMainWindow::getNetworkEditor() ...@@ -547,7 +547,7 @@ WQtNetworkEditor* WMainWindow::getNetworkEditor()
bool WMainWindow::projectSave( const std::vector< boost::shared_ptr< WProjectFileIO > >& writer ) bool WMainWindow::projectSave( const std::vector< boost::shared_ptr< WProjectFileIO > >& writer )
{ {
QString lastPath = WQt4Gui::getSettings().value( "LastProjectSavePath", "" ).toString(); QString lastPath = WQt4Gui::getSettings().value( "LastProjectSavePath", "" ).toString();
QString selected = QFileDialog::getSaveFileName ( this, "Save Project as", lastPath, QString selected = QFileDialog::getSaveFileName( this, "Save Project as", lastPath,
"Project File (*.owproj *.owp)" ); "Project File (*.owproj *.owp)" );
if( selected == "" ) if( selected == "" )
{ {
...@@ -649,7 +649,7 @@ void WMainWindow::openLoadDialog() ...@@ -649,7 +649,7 @@ void WMainWindow::openLoadDialog()
} }
filters += QString( "Any files (*)" ); filters += QString( "Any files (*)" );
QStringList filenames = QFileDialog::getOpenFileNames ( this, "Open Data, Project or Script", lastPath, filters ); QStringList filenames = QFileDialog::getOpenFileNames( this, "Open Data, Project or Script", lastPath, filters );
if( filenames.empty() ) if( filenames.empty() )
{ {
return; return;
......
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