xlsxwidget: Fix file path filter passed to QFileDialog
This commit is contained in:
@@ -11,7 +11,7 @@ int main(int argc, char **argv)
|
|||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
|
|
||||||
//![0]
|
//![0]
|
||||||
QString filePath = QFileDialog::getOpenFileName(0, "Open xlsx file", QString(), ".xlsx");
|
QString filePath = QFileDialog::getOpenFileName(0, "Open xlsx file", QString(), "*.xlsx");
|
||||||
if (filePath.isEmpty())
|
if (filePath.isEmpty())
|
||||||
return -1;
|
return -1;
|
||||||
//![0]
|
//![0]
|
||||||
|
|||||||
Reference in New Issue
Block a user