Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions application/widgets/mountdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@

#include <DLabel>
#include <DFrame>
#include <DFontSizeManager>

Check warning on line 13 in application/widgets/mountdialog.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <DFontSizeManager> not found. Please note: Cppcheck does not need standard library headers to get proper results.

#include <QDir>

Check warning on line 15 in application/widgets/mountdialog.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QDir> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QList>

Check warning on line 16 in application/widgets/mountdialog.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QList> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QUrl>

Check warning on line 17 in application/widgets/mountdialog.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QUrl> not found. Please note: Cppcheck does not need standard library headers to get proper results.
#include <QVBoxLayout>

Check warning on line 18 in application/widgets/mountdialog.cpp

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QVBoxLayout> not found. Please note: Cppcheck does not need standard library headers to get proper results.

MountDialog::MountDialog(QWidget *parent)
: DDBase(parent)
Expand Down Expand Up @@ -54,6 +56,10 @@
m_fileChooserEdit->setFileMode(QFileDialog::Directory);
m_fileChooserEdit->fileDialog()->setOption(QFileDialog::ShowDirsOnly);
m_fileChooserEdit->fileDialog()->setAcceptMode(QFileDialog::AcceptOpen);
m_fileChooserEdit->fileDialog()->setOption(QFileDialog::DontUseNativeDialog);
QList<QUrl> sidebarUrls;
sidebarUrls << QUrl("file:///media") << QUrl("file:///mnt");
m_fileChooserEdit->fileDialog()->setSidebarUrls(sidebarUrls);
m_fileChooserEdit->setAccessibleName("mountPointComboBox");
m_fileChooserEdit->setText("/mnt");

Expand Down
Loading