Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWayland Server
Commits
b439bc5f
Commit
b439bc5f
authored
Oct 01, 2020
by
Bhushan Shah
📱
Browse files
autotests: fix minor compile time warnings
parent
9b1dbfd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
autotests/server/test_datacontrol_interface.cpp
View file @
b439bc5f
...
...
@@ -43,8 +43,8 @@ using namespace KWaylandServer;
// Faux-client API for tests
Q_DECLARE_OPAQUE_POINTER
(
::
zwlr_data_control_offer_v1
*
)
;
Q_DECLARE_METATYPE
(
::
zwlr_data_control_offer_v1
*
)
;
Q_DECLARE_OPAQUE_POINTER
(
::
zwlr_data_control_offer_v1
*
)
Q_DECLARE_METATYPE
(
::
zwlr_data_control_offer_v1
*
)
class
DataControlDeviceManager
:
public
QObject
,
public
QtWayland
::
zwlr_data_control_manager_v1
{
...
...
@@ -112,12 +112,12 @@ public:
~
TestDataSource
()
{
emit
unbound
();
}
void
requestData
(
const
QString
&
mimeType
,
qint32
fd
)
{
void
requestData
(
const
QString
&
mimeType
,
qint32
fd
)
override
{
Q_UNUSED
(
mimeType
);
Q_UNUSED
(
fd
);
};
void
cancel
()
{};
QStringList
mimeTypes
()
const
{
void
cancel
()
override
{};
QStringList
mimeTypes
()
const
override
{
return
{
"text/test1"
,
"text/test2"
};
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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