Mercurial > hg > tony
changeset 309:585c045129c9
Some tidying & fixing compiler warnings
author | Chris Cannam |
---|---|
date | Thu, 12 Jun 2014 18:52:52 +0100 |
parents | ecd430813eae |
children | 1e9c4549107a |
files | .hgsubstate src/MainWindow.cpp |
diffstat | 2 files changed, 5 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgsubstate Thu Jun 12 17:53:59 2014 +0100 +++ b/.hgsubstate Thu Jun 12 18:52:52 2014 +0100 @@ -2,6 +2,6 @@ 236814e07bd07473958c1ff89103124536a0c3c8 dataquay b8ce40de83c25bf4585b3a03ddc67d215df31899 pyin 553a5f65ef64811747a6613f759622d655db63c1 sv-dependency-builds -337cdb5e5b06901d7971e9499a90fd167441fc46 svapp +2da91cceed643d914b4524c834990228d83eab8e svapp e88a15c25a4a5323be1b339c03218c9a1001d0f3 svcore -bb1f2a20f7dbc860f7e9778c87315be3c2817b52 svgui +9c272d39c3e3124c64173404db9ecac3ddccde8e svgui
--- a/src/MainWindow.cpp Thu Jun 12 17:53:59 2014 +0100 +++ b/src/MainWindow.cpp Thu Jun 12 18:52:52 2014 +0100 @@ -1800,13 +1800,11 @@ m_analyser->clearReAnalysis(); clearSelection(); - QString orig = m_audioFile; - if (orig == "") orig = "."; - else orig = QFileInfo(orig).absoluteDir().canonicalPath(); - QString path = getSaveFileName(FileFinder::SessionFile); - if (path == "") return; + if (path == "") { + return; + } if (!saveSessionFile(path)) { QMessageBox::critical(this, tr("Failed to save file"),