mirror of https://github.com/Gnucash/gnucash
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18101 57a11ea4-9604-0410-9ed3-97b8803252fdpull/1/head
parent
b5c3eb7a0b
commit
817841acff
@ -1,15 +0,0 @@
|
||||
diff --git a/src/frontends/qbanking/lib/dialogs/qbimporter.cpp b/src/frontends/qbanking/lib/dialogs/qbimporter.cpp
|
||||
index 630df18..c1061c6 100644
|
||||
--- a/src/frontends/qbanking/lib/dialogs/qbimporter.cpp
|
||||
+++ b/src/frontends/qbanking/lib/dialogs/qbimporter.cpp
|
||||
@@ -850,7 +850,9 @@ bool QBImporter::_readFile(const QString &fname){
|
||||
// conversion operator "QCString::operator const char * ()
|
||||
// const" that will correctly convert the QCString to the
|
||||
// const char*
|
||||
- fd=open(fname.local8Bit().data(), O_RDONLY);
|
||||
+ fd = ::open(fname.local8Bit().data(), O_RDONLY);
|
||||
+ // Note: We need to write ::open() to avoid an ambiguity with
|
||||
+ // QDialog::open().
|
||||
if (fd==-1) {
|
||||
qs=QWidget::tr("Could not open file \"%1\": %2")
|
||||
.arg(fname)
|
||||
Loading…
Reference in new issue