Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
KMag
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Accessibility
KMag
Commits
d6914869
Commit
d6914869
authored
Apr 27, 2014
by
David Faure
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port from queryExit (soon deprecated) to queryClose
parent
a0f0c7df
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
kmag.cpp
kmag.cpp
+1
-6
kmag.h
kmag.h
+0
-8
No files found.
kmag.cpp
View file @
d6914869
...
...
@@ -414,14 +414,9 @@ void KmagApp::readOptions()
}
bool
KmagApp
::
queryClose
()
{
return
(
true
);
}
bool
KmagApp
::
queryExit
()
{
saveOptions
();
return
true
;
return
(
true
)
;
}
/**
...
...
kmag.h
View file @
d6914869
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment