clang-format

This commit is contained in:
Luis Ángel San Martín
2021-10-18 21:56:52 +02:00
parent 78e0c522d2
commit 5aa02a19bb
190 changed files with 2286 additions and 2286 deletions

View File

@ -9,7 +9,7 @@ void YACReaderHistoryController::clear()
{
currentFolderNavigation = 0;
history.clear();
history.append(YACReaderLibrarySourceContainer(QModelIndex(), YACReaderLibrarySourceContainer::Folder)); //root folder is always the first item
history.append(YACReaderLibrarySourceContainer(QModelIndex(), YACReaderLibrarySourceContainer::Folder)); // root folder is always the first item
emit(enabledBackward(false));
emit(enabledForward(false));
@ -41,7 +41,7 @@ void YACReaderHistoryController::forward()
void YACReaderHistoryController::updateHistory(const YACReaderLibrarySourceContainer &source)
{
//remove history from current index
// remove history from current index
if (!source.sourceModelIndex.isValid() && history.count() == 1)
return;