Permalink
Browse files

Fixed: assigning to a pointer instead of assigning to a value

  • Loading branch information...
Mezomish committed Apr 24, 2012
1 parent 578a1bf commit 4d1004d79a275acd8d0960634537691e77d02bdf
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/Document.cpp
View
@@ -122,7 +122,7 @@ QString Document::titleWithModification() const {
bool Document::isNoname(const QString& fileName, bool* ok) {
if ( fileName.isEmpty() ) {
if ( ok != NULL ) {
- ok = false;
+ *ok = false;
}
return true;
}

0 comments on commit 4d1004d

Please sign in to comment.