mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
Compare commits
3 Commits
release-2.
...
release-2.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cfcc29e25a | ||
|
|
09e2dd15e2 | ||
|
|
49fd36aa2c |
@@ -1,5 +1,8 @@
|
|||||||
* Sn Mar 13 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.8
|
* Sun Mar 13 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.9
|
||||||
- BUFIX: Fix compilation with libtorrent v0.14.x
|
- BUGFIX: Fix column hiding/showing in transfer list
|
||||||
|
|
||||||
|
* Sun Mar 13 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.8
|
||||||
|
- BUGFIX: Fix compilation with libtorrent v0.14.x
|
||||||
- BUGFIX: Fix issues when writing on NTFS (Linux, Mac)
|
- BUGFIX: Fix issues when writing on NTFS (Linux, Mac)
|
||||||
- BUGFIX: Fix root folder being cut off if the torrent comes from a scanned folder (Christian Kandeler)
|
- BUGFIX: Fix root folder being cut off if the torrent comes from a scanned folder (Christian Kandeler)
|
||||||
- BUGFIX: Improve folder removal behavior
|
- BUGFIX: Improve folder removal behavior
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Categories=Qt;Network;P2P;
|
Categories=Qt;Network;P2P;
|
||||||
Comment=V2.6.8
|
Comment=V2.6.9
|
||||||
Exec=qbittorrent %U
|
Exec=qbittorrent %U
|
||||||
GenericName=BitTorrent client
|
GenericName=BitTorrent client
|
||||||
GenericName[ar]=العميل BitTorrent
|
GenericName[ar]=العميل BitTorrent
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleGetInfoString</key>
|
<key>CFBundleGetInfoString</key>
|
||||||
<string>2.6.8</string>
|
<string>2.6.9</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
|||||||
QTreeView(parent), BTSession(_BTSession), main_window(main_window) {
|
QTreeView(parent), BTSession(_BTSession), main_window(main_window) {
|
||||||
|
|
||||||
// Load settings
|
// Load settings
|
||||||
loadSettings();
|
bool column_loaded = loadSettings();
|
||||||
|
|
||||||
// Create and apply delegate
|
// Create and apply delegate
|
||||||
listDelegate = new TransferListDelegate(this);
|
listDelegate = new TransferListDelegate(this);
|
||||||
@@ -106,6 +106,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
|||||||
setDragDropMode(QAbstractItemView::DragOnly);
|
setDragDropMode(QAbstractItemView::DragOnly);
|
||||||
|
|
||||||
// Default hidden columns
|
// Default hidden columns
|
||||||
|
if(!column_loaded) {
|
||||||
setColumnHidden(TorrentModelItem::TR_PRIORITY, true);
|
setColumnHidden(TorrentModelItem::TR_PRIORITY, true);
|
||||||
setColumnHidden(TorrentModelItem::TR_ADD_DATE, true);
|
setColumnHidden(TorrentModelItem::TR_ADD_DATE, true);
|
||||||
setColumnHidden(TorrentModelItem::TR_SEED_DATE, true);
|
setColumnHidden(TorrentModelItem::TR_SEED_DATE, true);
|
||||||
@@ -115,6 +116,7 @@ TransferListWidget::TransferListWidget(QWidget *parent, MainWindow *main_window,
|
|||||||
setColumnHidden(TorrentModelItem::TR_AMOUNT_DOWNLOADED, true);
|
setColumnHidden(TorrentModelItem::TR_AMOUNT_DOWNLOADED, true);
|
||||||
setColumnHidden(TorrentModelItem::TR_AMOUNT_LEFT, true);
|
setColumnHidden(TorrentModelItem::TR_AMOUNT_LEFT, true);
|
||||||
setColumnHidden(TorrentModelItem::TR_TIME_ELAPSED, true);
|
setColumnHidden(TorrentModelItem::TR_TIME_ELAPSED, true);
|
||||||
|
}
|
||||||
|
|
||||||
setContextMenuPolicy(Qt::CustomContextMenu);
|
setContextMenuPolicy(Qt::CustomContextMenu);
|
||||||
|
|
||||||
@@ -873,10 +875,13 @@ void TransferListWidget::saveSettings()
|
|||||||
settings.setValue("TransferList/HeaderState", header()->saveState());
|
settings.setValue("TransferList/HeaderState", header()->saveState());
|
||||||
}
|
}
|
||||||
|
|
||||||
void TransferListWidget::loadSettings()
|
bool TransferListWidget::loadSettings()
|
||||||
{
|
{
|
||||||
QIniSettings settings("qBittorrent", "qBittorrent");
|
QIniSettings settings("qBittorrent", "qBittorrent");
|
||||||
|
bool ok = header()->restoreState(settings.value("TransferList/HeaderState").toByteArray());
|
||||||
|
if(!ok) {
|
||||||
header()->resizeSection(0, 200); // Default
|
header()->resizeSection(0, 200); // Default
|
||||||
header()->restoreState(settings.value("TransferList/HeaderState").toByteArray());
|
}
|
||||||
|
return ok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ protected:
|
|||||||
QModelIndex mapFromSource(const QModelIndex &index) const;
|
QModelIndex mapFromSource(const QModelIndex &index) const;
|
||||||
QStringList getCustomLabels() const;
|
QStringList getCustomLabels() const;
|
||||||
void saveSettings();
|
void saveSettings();
|
||||||
void loadSettings();
|
bool loadSettings();
|
||||||
QStringList getSelectedTorrentsHashes() const;
|
QStringList getSelectedTorrentsHashes() const;
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
os2 {
|
os2 {
|
||||||
DEFINES += VERSION=\'\"v2.6.8\"\'
|
DEFINES += VERSION=\'\"v2.6.9\"\'
|
||||||
} else {
|
} else {
|
||||||
DEFINES += VERSION=\\\"v2.6.8\\\"
|
DEFINES += VERSION=\\\"v2.6.9\\\"
|
||||||
}
|
}
|
||||||
DEFINES += VERSION_MAJOR=2
|
DEFINES += VERSION_MAJOR=2
|
||||||
DEFINES += VERSION_MINOR=6
|
DEFINES += VERSION_MINOR=6
|
||||||
DEFINES += VERSION_BUGFIX=8
|
DEFINES += VERSION_BUGFIX=9
|
||||||
|
|
||||||
# NORMAL,ALPHA,BETA,RELEASE_CANDIDATE,DEVEL
|
# NORMAL,ALPHA,BETA,RELEASE_CANDIDATE,DEVEL
|
||||||
DEFINES += VERSION_TYPE=NORMAL
|
DEFINES += VERSION_TYPE=NORMAL
|
||||||
|
|||||||
Reference in New Issue
Block a user