mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
Add --disable-telemetry command-line option
This commit is contained in:
parent
0f2561cf13
commit
78276cffb7
3 changed files with 26 additions and 15 deletions
|
@ -431,7 +431,7 @@ void ImageWriter::openFileDialog()
|
|||
{
|
||||
#ifndef QT_NO_WIDGETS
|
||||
QSettings settings;
|
||||
QString path = settings.value("General/lastpath").toString();
|
||||
QString path = settings.value("lastpath").toString();
|
||||
QFileInfo fi(path);
|
||||
|
||||
if (path.isEmpty() || !fi.exists() || !fi.isReadable() )
|
||||
|
@ -466,9 +466,9 @@ void ImageWriter::onFileSelected(QString filename)
|
|||
if (fi.isFile())
|
||||
{
|
||||
QString path = fi.path();
|
||||
if (path != settings.value("General/lastpath"))
|
||||
if (path != settings.value("lastpath"))
|
||||
{
|
||||
settings.setValue("General/lastpath", path);
|
||||
settings.setValue("lastpath", path);
|
||||
settings.sync();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue