Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
44f1ab34
Commit
44f1ab34
authored
Apr 15, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
fwupd: remove unused members
parent
ddefad4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/FwupdBackend/FwupdResource.cpp
View file @
44f1ab34
...
@@ -168,8 +168,6 @@ void FwupdResource::setDeviceDetails(FwupdDevice *dev)
...
@@ -168,8 +168,6 @@ void FwupdResource::setDeviceDetails(FwupdDevice *dev)
m_isLiveUpdatable
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_UPDATABLE
);
m_isLiveUpdatable
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_UPDATABLE
);
m_isOnlyOffline
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_ONLY_OFFLINE
);
m_isOnlyOffline
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_ONLY_OFFLINE
);
m_needsReboot
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_NEEDS_REBOOT
);
m_needsReboot
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_NEEDS_REBOOT
);
m_isDeviceRemoval
=
!
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_INTERNAL
);
m_needsBootLoader
=
fwupd_device_has_flag
(
dev
,
FWUPD_DEVICE_FLAG_NEEDS_BOOTLOADER
);
if
(
fwupd_device_get_name
(
dev
))
{
if
(
fwupd_device_get_name
(
dev
))
{
QString
vendorDesc
=
QString
::
fromUtf8
(
fwupd_device_get_name
(
dev
));
QString
vendorDesc
=
QString
::
fromUtf8
(
fwupd_device_get_name
(
dev
));
...
...
libdiscover/backends/FwupdBackend/FwupdResource.h
View file @
44f1ab34
...
@@ -140,8 +140,6 @@ private:
...
@@ -140,8 +140,6 @@ private:
bool
m_isOnlyOffline
=
false
;
// True if only offline updates
bool
m_isOnlyOffline
=
false
;
// True if only offline updates
bool
m_isLiveUpdatable
=
false
;
// True if device is live updatable
bool
m_isLiveUpdatable
=
false
;
// True if device is live updatable
bool
m_needsReboot
=
false
;
// True if device needs Reboot
bool
m_needsReboot
=
false
;
// True if device needs Reboot
bool
m_isDeviceRemoval
=
false
;
// True if device is Removal
bool
m_needsBootLoader
=
false
;
// True if BootLoader Required
QString
m_origin
;
QString
m_origin
;
};
};
...
...
Write
Preview
Supports
Markdown
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