jh
31st January 2006, 20:55
hi,
before an application is exited a method is called where the settings should
be written to the registry:
void
fdi_MainWindow::write_settings()
{
QSettings settings;
settings.setValue(fdinsight_settings + "/version", version );
settings.setValue(fdinsight_settings + "/window/posx", x() );
settings.setValue(fdinsight_settings + "/window/posy", y() );
settings.setValue(fdinsight_settings + "/window/width", width() );
settings.setValue(fdinsight_settings + "/window/height", height() );
}
i cannot find the settings in the registry, when the app tries to read
the settings they could not be read as well.
what's wrong?
regards,
jh
before an application is exited a method is called where the settings should
be written to the registry:
void
fdi_MainWindow::write_settings()
{
QSettings settings;
settings.setValue(fdinsight_settings + "/version", version );
settings.setValue(fdinsight_settings + "/window/posx", x() );
settings.setValue(fdinsight_settings + "/window/posy", y() );
settings.setValue(fdinsight_settings + "/window/width", width() );
settings.setValue(fdinsight_settings + "/window/height", height() );
}
i cannot find the settings in the registry, when the app tries to read
the settings they could not be read as well.
what's wrong?
regards,
jh