diff options
| author | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-06-08 12:34:35 +0200 |
|---|---|---|
| committer | Stefan Suhren <suhren.stefan@fh-swf.de> | 2015-06-08 12:34:35 +0200 |
| commit | 53e348a62f3a6e92a5bf2cfb1b72b0c4742eef66 (patch) | |
| tree | 3f59961bf9362e39c410febf9dbe25bb3fd6db2e | |
| parent | d847e6bf7929c8565bff4e17d9fd077b8e0ca74d (diff) | |
| download | GUI_SS2015-53e348a62f3a6e92a5bf2cfb1b72b0c4742eef66.tar.gz GUI_SS2015-53e348a62f3a6e92a5bf2cfb1b72b0c4742eef66.zip | |
Close file after read
| -rw-r--r-- | mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index 5df38a5..10b8d36 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -62,6 +62,8 @@ void MainWindow::on_actionLoad_triggered() ui->interactionCanvasPlaceholder->read(lastUsedFile); } + lastUsedFile->close(); + } void MainWindow::on_actionSave_triggered() |
