Skip to content

Commit a8d7770

Browse files
tsic404deepin-bot[bot]
authored andcommitted
fix: build warring
log: as title
1 parent b18ebee commit a8d7770

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

panels/dock/dockhelper.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ class DockWakeUpArea
6262

6363
protected:
6464
explicit DockWakeUpArea(QScreen *screen, DockHelper *helper);
65+
virtual ~DockWakeUpArea() = default;
6566
virtual void updateDockWakeArea(Position pos) = 0;
6667

6768
protected:

panels/dock/waylanddockhelper.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ class TreeLandDockWakeUpArea : public QWidget, public DockWakeUpArea
9696
public:
9797
explicit TreeLandDockWakeUpArea(QScreen *screen, WaylandDockHelper *helper);
9898

99-
public:
10099
void open() override;
101100
void close() override;
102101

panels/dock/x11dockhelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class X11DockWakeUpArea : public QObject, public DockWakeUpArea
9696

9797
private:
9898
X11DockWakeUpArea(QScreen *screen, X11DockHelper *helper);
99-
~X11DockWakeUpArea();
99+
~X11DockWakeUpArea() override;
100100

101101
void open() override;
102102
void close() override;

0 commit comments

Comments
 (0)