Mercurial > hg > sonic-visualiser
comparison main/OSCHandler.cpp @ 2440:d811380516f6 spectrogram-export
Replace use of m_abandoning by setting document modified to false
author | Chris Cannam |
---|---|
date | Wed, 08 Jan 2020 15:39:34 +0000 |
parents | 32dbc311c6d4 |
children | 3612bfc24950 |
comparison
equal
deleted
inserted
replaced
2439:882848f168e8 | 2440:d811380516f6 |
---|---|
568 } | 568 } |
569 } | 569 } |
570 } | 570 } |
571 | 571 |
572 } else if (message.getMethod() == "quit") { | 572 } else if (message.getMethod() == "quit") { |
573 | 573 |
574 m_abandoning = true; | 574 SVDEBUG << "OSCHandler: Exiting abruptly" << endl; |
575 m_documentModified = false; // so we don't ask to save | |
575 close(); | 576 close(); |
576 | 577 |
577 } else if (message.getMethod() == "resize") { | 578 } else if (message.getMethod() == "resize") { |
578 | 579 |
579 if (message.getArgCount() == 2) { | 580 if (message.getArgCount() == 2) { |