Unverified Commit a8f810d6 authored by Alfred Persson Forsberg's avatar Alfred Persson Forsberg
Browse files

k3bsystemproblemdialog.cpp: Check for HAVE_FSTAB_H



Signed-off-by: Alfred Persson Forsberg's avatarAlfred Persson Forsberg <cat@catcream.org>
parent 3a76314a
Pipeline #205273 passed with stage
in 3 minutes and 59 seconds
......@@ -49,7 +49,7 @@
#include <langinfo.h>
#endif
#ifndef 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;
}
#ifndef 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 )
}
#ifndef Q_OS_WIN32
#ifdef HAVE_FSTAB_H
QList<K3b::Device::Device*> K3b::SystemProblemDialog::checkForAutomounting()
{
QList<K3b::Device::Device *> l;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment