Change this in mainwindow.cpp

void MainWindow::killFile()
{
  if(m_fname==m_fileToSave) {
  } else {
    QFile savedFile(m_fname);
    savedFile.remove();
  }
}

To this temporarily and see what error pops up.  I would think it has to be
locked for some reason.
Since we don't want this to loop what I would do is, if it fails, push the
filename onto a queue and then walk the queue every time this is called
removing the name on success.
That way it would eventually be removed if the program isn't shut down (or
is killFile called on shutdown??) assuming this is a temporary error.

void MainWindow::killFile()
{
  if(m_fname==m_fileToSave) {
  } else {
    QFile savedFile(m_fname);
    If(!savedFile.remove()) 
      {
        msgBox(savedFile.errorString());
      }
  }
}

Mike W9MDB

-----Original Message-----
From: John Nelson [mailto:j...@rmnjmn.demon.co.uk] 
Sent: Monday, September 15, 2014 7:55 AM
To: WSJT software development
Subject: Re: [wsjt-devel] Plan for beta release of WSJT-X v1.4

Hi Mike,

No, WSJT-X doesn't crash.  (And neither does the computer - it's a Mac.) No,
the computer doesn't sleep when WSJT-X is running.  
No, only one version is running.   

I always quit WSJT-X normally when I have had enough.

I am not sure that a dir of the directory will provide you with any
information but here is a recent snippet.

This is not something I'm losing sleep over.   I thought I would just
mention the issue as an observation.

--- John G4KLA

-rw-r--r--  1 jmn  staff  1440044 Sep 13 10:12 140913_0912.wav
-rw-r--r--  1 jmn  staff  1440044 Sep 13 10:17 140913_0917.wav
-rw-r--r--  1 jmn  staff  1440044 Sep 13 10:28 140913_0928.wav
-rw-r--r--  1 jmn  staff  1440044 Sep 13 19:44 140913_1844.wav





----------------------------------------------------------------------------
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce Perforce version control.
Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel


------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to