mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-05 15:17:37 +03:00
Apply clang-format fixes
This commit is contained in:
parent
a382341ac5
commit
ba6257a8c9
@ -131,8 +131,8 @@ void KOReaderSettingsActivity::handleSelection() {
|
|||||||
} else if (selectedIndex == 3) {
|
} else if (selectedIndex == 3) {
|
||||||
// Document Matching - toggle between Filename and Binary
|
// Document Matching - toggle between Filename and Binary
|
||||||
const auto current = KOREADER_STORE.getMatchMethod();
|
const auto current = KOREADER_STORE.getMatchMethod();
|
||||||
const auto newMethod = (current == DocumentMatchMethod::FILENAME) ? DocumentMatchMethod::BINARY
|
const auto newMethod =
|
||||||
: DocumentMatchMethod::FILENAME;
|
(current == DocumentMatchMethod::FILENAME) ? DocumentMatchMethod::BINARY : DocumentMatchMethod::FILENAME;
|
||||||
KOREADER_STORE.setMatchMethod(newMethod);
|
KOREADER_STORE.setMatchMethod(newMethod);
|
||||||
KOREADER_STORE.saveToFile();
|
KOREADER_STORE.saveToFile();
|
||||||
updateRequired = true;
|
updateRequired = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user