mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 14:49:44 -09:00
kcms/tablet: Clean up canberra context
This commit is contained in:
parent
8af82f5f6a
commit
9b029ed99c
2 changed files with 6 additions and 0 deletions
|
|
@ -28,6 +28,11 @@ CalibrationTool::CalibrationTool()
|
|||
});
|
||||
}
|
||||
|
||||
CalibrationTool::~CalibrationTool()
|
||||
{
|
||||
ca_context_destroy(m_canberraContext);
|
||||
}
|
||||
|
||||
void CalibrationTool::setWidth(const float width)
|
||||
{
|
||||
if (m_width != width) {
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ class CalibrationTool : public QObject
|
|||
|
||||
public:
|
||||
CalibrationTool();
|
||||
~CalibrationTool();
|
||||
|
||||
void setWidth(float width);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue