Permalink
Browse files

Use isValid instead of load() to check for archive validity

  • Loading branch information...
1 parent f2575c9 commit 9f3277e536f14c836eb680e25428e38da9aceb53 @bmcdorman bmcdorman committed Mar 2, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/FileActionEditKar.cpp
@@ -13,8 +13,7 @@ FileActionEditKar::FileActionEditKar()
bool FileActionEditKar::canHandle(const QString &path) const
{
- qDebug() << path << Kiss::Kar::isValid(path);
- return !Kiss::Kar::load(path).isNull();
+ return Kiss::Kar::isValid(path);
}
bool FileActionEditKar::act(const QString &path, Device *device) const

0 comments on commit 9f3277e

Please sign in to comment.