Commit d6914869 authored by David Faure's avatar David Faure
Browse files

Port from queryExit (soon deprecated) to queryClose

parent a0f0c7df
......@@ -414,14 +414,9 @@ void KmagApp::readOptions()
bool KmagApp::queryClose()
return (true);
bool KmagApp::queryExit()
return true;
return (true);
......@@ -86,14 +86,6 @@ class KmagApp : public KXmlGuiWindow
virtual bool queryClose();
/** queryExit is called by KTMainWindow when the last window of the application is going to be closed during the closeEvent().
* Against the default implementation that just returns true, this calls saveOptions() to save the settings of the last window's
* properties.
* @see KTMainWindow#queryExit
* @see KTMainWindow#closeEvent
virtual bool queryExit();
/// Catch context menu events
void contextMenuEvent ( QContextMenuEvent * e );
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