diff options
| author | Silarn <jrim@rimpo.org> | 2019-07-08 13:19:52 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2019-07-08 13:19:52 -0500 |
| commit | 37aa5e07f473e0377ef59d6e2f53f7373b11aecd (patch) | |
| tree | 6ceefc40dd166c5d88f3f4cccdfb6274d8e445ad /src/selectiondialog.cpp | |
| parent | e4bacba282d273754d1791000d24db52275ac7e2 (diff) | |
Add some basic checks for symlinks
Diffstat (limited to 'src/selectiondialog.cpp')
| -rw-r--r-- | src/selectiondialog.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/selectiondialog.cpp b/src/selectiondialog.cpp index 55728751..089760f9 100644 --- a/src/selectiondialog.cpp +++ b/src/selectiondialog.cpp @@ -79,6 +79,14 @@ QString SelectionDialog::getChoiceString() }
}
+QString SelectionDialog::getChoiceDescription()
+{
+ if (m_Choice == nullptr)
+ return QString();
+ else
+ return m_Choice->accessibleDescription();
+}
+
void SelectionDialog::disableCancel()
{
ui->cancelButton->setEnabled(false);
|
