Skip to content

Commit dc1e2e9

Browse files
committed
Added SaveInformation::isValid helper method
1 parent 828bcab commit dc1e2e9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/Utils.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ struct SaveInformation final
8585
{
8686
QString path;
8787
QString filter;
88+
89+
bool isValid() const
90+
{
91+
return !path.isEmpty();
92+
}
8893
};
8994

9095
namespace Utils

0 commit comments

Comments
 (0)