~uriboni/webbrowser-app/tab-context-menu

« back to all changes in this revision

Viewing changes to src/app/webbrowser/bookmarks-folderlist-model.cpp

  • Committer: CI Train Bot
  • Author(s): Arthur Mello, Ugo Riboni, Olivier Tilloy
  • Date: 2015-08-12 19:53:13 UTC
  • mfrom: (1126.1.5 wide-views-newtab-history)
  • Revision ID: ci-train-bot@canonical.com-20150812195313-u5v7kzrj8hfiacsj
Wide screen versions of the history view and new tab view, per design specification.
This adds a build dependency on qml-module-qt-labs-settings (for unit tests). Fixes: #1351157, #1481647

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        }
100
100
        endResetModel();
101
101
        Q_EMIT sourceModelChanged();
 
102
        Q_EMIT countChanged();
102
103
    }
103
104
}
104
105
 
174
175
        beginInsertRows(QModelIndex(), insertAt, insertAt);
175
176
        addFolder(folder);
176
177
        endInsertRows();
 
178
 
 
179
        Q_EMIT countChanged();
177
180
    }
178
181
}
179
182
 
183
186
    clearFolders();
184
187
    populateModel();
185
188
    endResetModel();
 
189
 
 
190
    Q_EMIT countChanged();
186
191
}
187
192
 
188
193
void BookmarksFolderListModel::addFolder(const QString& folder)