Skip to content

Commit

Permalink
added default behavior for window show
Browse files Browse the repository at this point in the history
  • Loading branch information
CountMurphy committed Nov 28, 2022
1 parent fe43e8d commit 0ca94a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fileio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ void FileIO::SaveVolume(int vol)
bool FileIO::LoadWindowShow()
{
QSettings settings;
if(!settings.contains("ShowWindowDefault"))
{
return true;
}
return settings.value("ShowWindowDefault").toBool();
}

Expand Down

0 comments on commit 0ca94a8

Please sign in to comment.