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
KWin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Service Desk
Milestones
Merge Requests
45
Merge Requests
45
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
Plasma
KWin
Commits
8510f313
Commit
8510f313
authored
Jan 15, 2018
by
Marco Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't double delete m_spy
dtor not needed BUG:388910
parent
eb69e872
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
tabletmodemanager.cpp
tabletmodemanager.cpp
+0
-5
tabletmodemanager.h
tabletmodemanager.h
+1
-1
No files found.
tabletmodemanager.cpp
View file @
8510f313
...
...
@@ -82,11 +82,6 @@ TabletModeManager::TabletModeManager(QObject *parent)
);
}
TabletModeManager
::~
TabletModeManager
()
{
delete
m_spy
;
}
bool
TabletModeManager
::
isTablet
()
const
{
return
m_isTabletMode
;
...
...
tabletmodemanager.h
View file @
8510f313
...
...
@@ -36,7 +36,7 @@ class TabletModeManager : public QObject
Q_PROPERTY
(
bool
tabletMode
READ
isTablet
NOTIFY
tabletModeChanged
)
public:
~
TabletModeManager
();
~
TabletModeManager
()
=
default
;
bool
isTablet
()
const
;
void
setIsTablet
(
bool
tablet
);
...
...
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