~thomas-voss/unity-scope-click/multi-view-containers

« back to all changes in this revision

Viewing changes to scope/click/interface.cpp

  • Committer: Jussi Pakkanen
  • Date: 2014-02-11 13:54:39 UTC
  • Revision ID: jussi.pakkanen@canonical.com-20140211135439-9pvqkckik0n8mu7z
Fixed tests too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
129
129
 */
130
130
void Interface::find_apps_in_dir(const QString& dir_path,
131
131
                                 const QString& search_query,
132
 
                                 std::list<Application>& result_list)
 
132
                                 std::vector<Application>& result_list)
133
133
{
134
134
    QDir dir(dir_path, "*.desktop",
135
135
             QDir::Unsorted, QDir::Readable | QDir::Files);
154
154
                    app.icon_url = keyfile.get_string(DESKTOP_FILE_GROUP,
155
155
                                                      DESKTOP_FILE_KEY_ICON);
156
156
                    qDebug() << "Found application:" << filename;
157
 
                    result_list.push_front(app);
 
157
                    result_list.push_back(app);
158
158
                }
159
159
            }
160
160
        } catch (unity::FileException file_exp) {