diff options
author | Javier <dev.git@javispedro.com> | 2020-09-10 23:26:12 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2020-09-10 23:26:12 +0200 |
commit | 20de09ffbaa00ab3adf91e49b847eb0061315b1e (patch) | |
tree | 19d34e3ed81b86a415809b2d213d582ff524d263 /notebookmodel.cc | |
parent | 554a87c601dbd67b45fddc9a8362b82a5b89c5e4 (diff) | |
download | scribiu-20de09ffbaa00ab3adf91e49b847eb0061315b1e.tar.gz scribiu-20de09ffbaa00ab3adf91e49b847eb0061315b1e.zip |
cleanup redundant endls and others
Diffstat (limited to 'notebookmodel.cc')
-rw-r--r-- | notebookmodel.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notebookmodel.cc b/notebookmodel.cc index b9c897e..8a58ebf 100644 --- a/notebookmodel.cc +++ b/notebookmodel.cc @@ -124,7 +124,7 @@ QVariant NotebookModel::data(const QModelIndex &index, int role) const case Qt::DisplayRole: switch (index.column()) { case 0: - return notebooks.at(index.row()); + return notebookName; case 1: if (notebookName != PAPER_REPLAY) { return estimatePagesOfNotebook(penName, notebookName); |