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
Multimedia
K3b
Commits
a8f810d6
Unverified
Commit
a8f810d6
authored
Jul 14, 2022
by
Alfred Persson Forsberg
Browse files
k3bsystemproblemdialog.cpp: Check for HAVE_FSTAB_H
Signed-off-by:
Alfred Persson Forsberg
<
cat@catcream.org
>
parent
3a76314a
Pipeline
#205273
passed with stage
in 3 minutes and 59 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/k3bsystemproblemdialog.cpp
View file @
a8f810d6
...
...
@@ -49,7 +49,7 @@
#include
<langinfo.h>
#endif
#if
n
def
Q_OS_WIN32
#ifdef
HAVE_FSTAB_H
#include
<fstab.h>
#endif
#include
<unistd.h>
...
...
@@ -388,7 +388,7 @@ void K3b::SystemProblemDialog::checkSystem(QWidget* parent, NotificationLevel le
dvd_r_dl
=
true
;
}
#if
n
def
Q_OS_WIN32
#ifdef
HAVE_FSTAB_H
// check automounted devices
QList
<
K3b
::
Device
::
Device
*>
automountedDevices
=
checkForAutomounting
();
for
(
QList
<
K3b
::
Device
::
Device
*>::
const_iterator
it
=
automountedDevices
.
constBegin
();
...
...
@@ -676,7 +676,7 @@ int K3b::SystemProblemDialog::dmaActivated( K3b::Device::Device* dev )
}
#if
n
def
Q_OS_WIN32
#ifdef
HAVE_FSTAB_H
QList
<
K3b
::
Device
::
Device
*>
K3b
::
SystemProblemDialog
::
checkForAutomounting
()
{
QList
<
K3b
::
Device
::
Device
*>
l
;
...
...
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