Hi
I have 3 classes:
- Main (QMainWindow)
- Settings (QDialog)
- Other (QDialog)
* This is working:
Starting my app, executing Settings window and change setting (radiobutton), then signal is emitted to Main and there QFile opens file and writes data.
* This is NOT working (file not written):
Starting my app, executing Other window, executing Settings window and change setting (radiobutton), then signal is emitted to Main window and there QFile opens and writes data.
Just open and close Other window cause that file can't be opened and written but:
file.isOpen()
returns true.
I tried write another file (other filename) but file wasn't created on disk.
However:
file2.isOpen()
returns true
In Main I have:
settings = new Settings(this);
other = new Other(this);
Sorry for my English![]()
Bookmarks