mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-23 06:50:58 -04:00
Enhance readability when accessing static members
The sole purpose of a few objects was calling a static member of the class they belonged to. This is not needed, as you can access a static member with the <class_name>::<member_name> notation.
This commit is contained in:
parent
da9afd3f6f
commit
7208635502
3 changed files with 3 additions and 5 deletions
|
@ -151,7 +151,7 @@ bool BinaryStream::readString(QString& str)
|
|||
return false;
|
||||
}
|
||||
|
||||
str = str.fromLatin1(ba);
|
||||
str = QString::fromLatin1(ba);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue