- Fix translation in files list (both UI and Web UI)

This commit is contained in:
Christophe Dumez
2009-11-24 13:25:11 +00:00
parent bf77b186c1
commit d4524993ee
16 changed files with 66 additions and 61 deletions

View File

@@ -37,6 +37,9 @@
#include <QStringList>
#include <QString>
#include <libtorrent/torrent_info.hpp>
#include "proplistdelegate.h"
#include "misc.h"
using namespace libtorrent;
enum TreeItemType {TFILE, FOLDER, ROOT};
@@ -49,7 +52,7 @@ private:
public:
// File Construction
TreeItem(file_entry const& f, TreeItem *parent) {
TreeItem(file_entry f, TreeItem *parent) {
Q_ASSERT(parent);
parentItem = parent;
type = TFILE;
@@ -247,6 +250,8 @@ public:
class TorrentFilesModel: public QAbstractItemModel {
Q_OBJECT
private:
TreeItem *rootItem;
TreeItem **files_index;