From db163abc2a848f595219e905de4b863a84effc01 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 24 Nov 2017 16:58:19 +0100 Subject: FIX EVERYWHERE --- src/dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dialog.cpp') diff --git a/src/dialog.cpp b/src/dialog.cpp index 7a378a1..926c65b 100644 --- a/src/dialog.cpp +++ b/src/dialog.cpp @@ -286,7 +286,7 @@ bool Dialog::selectSession(const QString& name) { bool Dialog::selectSessionByUuid(const QString& name) { QModelIndex root(ui->treeView->rootIndex()); - for (int tab = 0; tab <= TAB_COUNT; ++tab) { + for (int tab = 0; tab < TAB_COUNT; ++tab) { for (int i = 0; i < model_[tab]->rowCount(root); ++i) { QModelIndex section(model_[tab]->index(i, 0, root)); if (!section.isValid()) { -- cgit v1.2.3-55-g7522