mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-02-11 06:08:33 -06:00
Change some function parameters with negated name
Change some function parameters which are named like "dont..." to make a positive statement. This should hopefully avoid some confisions with double negation.
This commit is contained in:
@@ -284,13 +284,13 @@ private:
|
||||
|
||||
bool tryEncryptionSettings(const QString& filename, bool* encrypted, CipherSettings*& cipherSettings) const;
|
||||
|
||||
bool dontCheckForStructureUpdates;
|
||||
bool disableStructureUpdateChecks;
|
||||
|
||||
class NoStructureUpdateChecks
|
||||
{
|
||||
public:
|
||||
explicit NoStructureUpdateChecks(DBBrowserDB& db) : m_db(db) { m_db.dontCheckForStructureUpdates = true; }
|
||||
~NoStructureUpdateChecks() { m_db.dontCheckForStructureUpdates = false; }
|
||||
explicit NoStructureUpdateChecks(DBBrowserDB& db) : m_db(db) { m_db.disableStructureUpdateChecks = true; }
|
||||
~NoStructureUpdateChecks() { m_db.disableStructureUpdateChecks = false; }
|
||||
|
||||
private:
|
||||
DBBrowserDB& m_db;
|
||||
|
||||
Reference in New Issue
Block a user