mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix file dialog for Windows on ARM.
This commit is contained in:
parent
eed9541f9f
commit
20fadfef7f
1 changed files with 2 additions and 0 deletions
|
@ -375,7 +375,9 @@ bool Get(
|
||||||
dialog.setFileMode(QFileDialog::AnyFile);
|
dialog.setFileMode(QFileDialog::AnyFile);
|
||||||
dialog.setAcceptMode(QFileDialog::AcceptSave);
|
dialog.setAcceptMode(QFileDialog::AcceptSave);
|
||||||
}
|
}
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||||
dialog.show();
|
dialog.show();
|
||||||
|
#endif // Qt < 6.0.0
|
||||||
|
|
||||||
auto realLastPath = [=] {
|
auto realLastPath = [=] {
|
||||||
// If we're given some non empty path containing a folder - use it.
|
// If we're given some non empty path containing a folder - use it.
|
||||||
|
|
Loading…
Add table
Reference in a new issue