Skip to content

Commit

Permalink
Added SaveInformation::isValid helper method
Browse files Browse the repository at this point in the history
  • Loading branch information
fnkkio committed Nov 22, 2019
1 parent 828bcab commit dc1e2e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/Utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ struct SaveInformation final
{
QString path;
QString filter;

bool isValid() const
{
return !path.isEmpty();
}
};

namespace Utils
Expand Down

0 comments on commit dc1e2e9

Please sign in to comment.