Skip to content

Commit d2f751e

Browse files
githubuser0xFFFFUwe Kindler
authored andcommitted
Moved linux specific code into linux sub folder
1 parent 35c1b04 commit d2f751e

File tree

4 files changed

+13
-9
lines changed

4 files changed

+13
-9
lines changed

src/FloatingDockContainer.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,12 @@
4848
#include "DockOverlay.h"
4949

5050
#ifdef Q_OS_LINUX
51-
#include "FloatingWidgetTitleBar.h"
51+
#include "linux/FloatingWidgetTitleBar.h"
52+
#include <xcb/xcb.h>
5253
#endif
5354

5455
#include <iostream>
55-
#include <xcb/xcb.h>
56+
5657

5758
namespace ads
5859
{
File renamed without changes.
File renamed without changes.

src/src.pro

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,9 @@ HEADERS += \
4040
DockOverlay.h \
4141
DockSplitter.h \
4242
DockAreaTitleBar.h \
43-
ElidingLabel.h \
44-
FloatingWidgetTitleBar.h
45-
46-
47-
43+
ElidingLabel.h
44+
45+
4846
SOURCES += \
4947
ads_globals.cpp \
5048
DockAreaWidget.cpp \
@@ -57,8 +55,13 @@ SOURCES += \
5755
DockOverlay.cpp \
5856
DockSplitter.cpp \
5957
DockAreaTitleBar.cpp \
60-
ElidingLabel.cpp \
61-
FloatingWidgetTitleBar.cpp
58+
ElidingLabel.cpp
59+
60+
61+
unix {
62+
HEADERS += linux/FloatingWidgetTitleBar.h
63+
SOURCES += linux/FloatingWidgetTitleBar.cpp
64+
}
6265

6366
isEmpty(PREFIX){
6467
PREFIX=..\installed

0 commit comments

Comments
 (0)