mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 21:00:37 +02:00
Fixed a bug where the File Dialog wouldn't show up correctly on linux
This commit is contained in:
@@ -43,7 +43,7 @@ void IntelliPhotoGui::slotOpen(){
|
|||||||
// tr sets the window title to Open File
|
// tr sets the window title to Open File
|
||||||
// QDir opens the current dirctory
|
// QDir opens the current dirctory
|
||||||
QString fileName = QFileDialog::getOpenFileName(this,
|
QString fileName = QFileDialog::getOpenFileName(this,
|
||||||
tr("Open File"), QDir::currentPath());
|
tr("Open File"), QDir::currentPath(), "", nullptr, QFileDialog::DontUseNativeDialog);
|
||||||
|
|
||||||
// If we have a file name load the image and place
|
// If we have a file name load the image and place
|
||||||
// it in the paintingArea
|
// it in the paintingArea
|
||||||
|
|||||||
Reference in New Issue
Block a user