summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index e099b16..b0b5aee 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
} else {
file = QString::fromUtf8(argv[optind]);
}
- if (file == NULL) {
+ if (file.isNull()) {
return 1;
}
}