You've already forked qBittorrent
mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-10-09 18:32:15 +02:00
Compare commits
11 Commits
release-2.
...
release-2.
Author | SHA1 | Date | |
---|---|---|---|
![]() |
673ca8db84 | ||
![]() |
bbd9764f9c | ||
![]() |
7437bd4265 | ||
![]() |
1299e75934 | ||
![]() |
514f82a3c9 | ||
![]() |
51a69dc36a | ||
![]() |
737fee79ed | ||
![]() |
e5e4bb1111 | ||
![]() |
75111cdd8a | ||
![]() |
3ccc69848d | ||
![]() |
f5f915eb5d |
@@ -1,3 +1,10 @@
|
|||||||
|
* Mon Jan 10 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.1
|
||||||
|
- BUGFIX: Really disable torrent addition dialog by default
|
||||||
|
- BUGFIX: Fix some missing icons in the Web UI
|
||||||
|
- BUGFIX: Fix magnet torrent name update problem
|
||||||
|
- COSMETIC: Use 24px size for toolbar icons and reduce spacing
|
||||||
|
- COSMETIC: Move transfer list filter on the right side of the toolbar
|
||||||
|
|
||||||
* Sun Jan 9 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.0
|
* Sun Jan 9 2011 - Christophe Dumez <chris@qbittorrent.org> - v2.6.0
|
||||||
- FEATURE: Use system icons (Linux, Qt >= 4.6)
|
- FEATURE: Use system icons (Linux, Qt >= 4.6)
|
||||||
- FEATURE: Improved ETA calculation
|
- FEATURE: Improved ETA calculation
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Categories=Qt;Network;P2P;
|
Categories=Qt;Network;P2P;
|
||||||
Comment=V2.6.0
|
Comment=V2.6.1
|
||||||
Exec=qbittorrent %f
|
Exec=qbittorrent %f
|
||||||
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.0</string>
|
<string>2.6.1</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleExecutable</key>
|
<key>CFBundleExecutable</key>
|
||||||
|
@@ -294,6 +294,12 @@ int main(int argc, char *argv[]){
|
|||||||
QStringList torrentCmdLine = app.arguments();
|
QStringList torrentCmdLine = app.arguments();
|
||||||
// Remove first argument (program name)
|
// Remove first argument (program name)
|
||||||
torrentCmdLine.removeFirst();
|
torrentCmdLine.removeFirst();
|
||||||
|
#ifndef QT_NO_DEBUG_OUTPUT
|
||||||
|
foreach(const QString &argument, torrentCmdLine) {
|
||||||
|
qDebug() << "Command line argument:" << argument;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef DISABLE_GUI
|
#ifndef DISABLE_GUI
|
||||||
MainWindow window(0, torrentCmdLine);
|
MainWindow window(0, torrentCmdLine);
|
||||||
if(!no_splash)
|
if(!no_splash)
|
||||||
|
@@ -84,7 +84,7 @@ void qt_mac_set_dock_menu(QMenu *menu);
|
|||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
|
||||||
#define TIME_TRAY_BALLOON 5000
|
#define TIME_TRAY_BALLOON 5000
|
||||||
#define TOOLBAR_SPACING 10
|
#define TOOLBAR_SPACING 0
|
||||||
|
|
||||||
/*****************************************************
|
/*****************************************************
|
||||||
* *
|
* *
|
||||||
@@ -174,13 +174,13 @@ MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindo
|
|||||||
vboxLayout->addWidget(tabs);
|
vboxLayout->addWidget(tabs);
|
||||||
// Name filter
|
// Name filter
|
||||||
search_filter = new LineEdit();
|
search_filter = new LineEdit();
|
||||||
toolBar->insertWidget(actionLock_qBittorrent, search_filter);
|
|
||||||
search_filter->setFixedWidth(200);
|
|
||||||
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
|
connect(search_filter, SIGNAL(textChanged(QString)), transferList, SLOT(applyNameFilter(QString)));
|
||||||
|
QAction *searchFilterAct = toolBar->insertWidget(actionLock_qBittorrent, search_filter);
|
||||||
|
search_filter->setFixedWidth(200);
|
||||||
QWidget *spacer = new QWidget(this);
|
QWidget *spacer = new QWidget(this);
|
||||||
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
spacer->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
|
||||||
toolBar->insertWidget(actionLock_qBittorrent, spacer);
|
toolBar->insertWidget(searchFilterAct, spacer);
|
||||||
|
|
||||||
|
|
||||||
prioSeparator = toolBar->insertSeparator(actionDecreasePriority);
|
prioSeparator = toolBar->insertSeparator(actionDecreasePriority);
|
||||||
prioSeparatorMenu = menu_Edit->insertSeparator(actionDecreasePriority);
|
prioSeparatorMenu = menu_Edit->insertSeparator(actionDecreasePriority);
|
||||||
@@ -804,8 +804,8 @@ void MainWindow::dropEvent(QDropEvent *event) {
|
|||||||
files = event->mimeData()->text().split(QString::fromUtf8("\n"));
|
files = event->mimeData()->text().split(QString::fromUtf8("\n"));
|
||||||
}
|
}
|
||||||
// Add file to download list
|
// Add file to download list
|
||||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
Preferences pref;
|
||||||
const bool useTorrentAdditionDialog = settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), true).toBool();
|
const bool useTorrentAdditionDialog = pref.useAdditionDialog();
|
||||||
foreach(QString file, files) {
|
foreach(QString file, files) {
|
||||||
qDebug("Dropped file %s on download list", qPrintable(file));
|
qDebug("Dropped file %s on download list", qPrintable(file));
|
||||||
if(misc::isUrl(file)) {
|
if(misc::isUrl(file)) {
|
||||||
@@ -857,6 +857,7 @@ void MainWindow::dragEnterEvent(QDragEnterEvent *event) {
|
|||||||
// Display a dialog to allow user to add
|
// Display a dialog to allow user to add
|
||||||
// torrents to download list
|
// torrents to download list
|
||||||
void MainWindow::on_actionOpen_triggered() {
|
void MainWindow::on_actionOpen_triggered() {
|
||||||
|
Preferences pref;
|
||||||
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
QIniSettings settings(QString::fromUtf8("qBittorrent"), QString::fromUtf8("qBittorrent"));
|
||||||
// Open File Open Dialog
|
// Open File Open Dialog
|
||||||
// Note: it is possible to select more than one file
|
// Note: it is possible to select more than one file
|
||||||
@@ -864,7 +865,7 @@ void MainWindow::on_actionOpen_triggered() {
|
|||||||
tr("Open Torrent Files"), settings.value(QString::fromUtf8("MainWindowLastDir"), QDir::homePath()).toString(),
|
tr("Open Torrent Files"), settings.value(QString::fromUtf8("MainWindowLastDir"), QDir::homePath()).toString(),
|
||||||
tr("Torrent Files")+QString::fromUtf8(" (*.torrent)"));
|
tr("Torrent Files")+QString::fromUtf8(" (*.torrent)"));
|
||||||
if(!pathsList.empty()) {
|
if(!pathsList.empty()) {
|
||||||
const bool useTorrentAdditionDialog = settings.value(QString::fromUtf8("Preferences/Downloads/AdditionDialog"), true).toBool();
|
const bool useTorrentAdditionDialog = pref.useAdditionDialog();
|
||||||
const uint listSize = pathsList.size();
|
const uint listSize = pathsList.size();
|
||||||
for(uint i=0; i<listSize; ++i) {
|
for(uint i=0; i<listSize; ++i) {
|
||||||
if(useTorrentAdditionDialog) {
|
if(useTorrentAdditionDialog) {
|
||||||
|
@@ -115,12 +115,6 @@
|
|||||||
<property name="orientation">
|
<property name="orientation">
|
||||||
<enum>Qt::Horizontal</enum>
|
<enum>Qt::Horizontal</enum>
|
||||||
</property>
|
</property>
|
||||||
<property name="iconSize">
|
|
||||||
<size>
|
|
||||||
<width>32</width>
|
|
||||||
<height>32</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="floatable">
|
<property name="floatable">
|
||||||
<bool>false</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
@@ -139,7 +133,6 @@
|
|||||||
<addaction name="actionIncreasePriority"/>
|
<addaction name="actionIncreasePriority"/>
|
||||||
<addaction name="separator"/>
|
<addaction name="separator"/>
|
||||||
<addaction name="actionOptions"/>
|
<addaction name="actionOptions"/>
|
||||||
<addaction name="separator"/>
|
|
||||||
<addaction name="actionLock_qBittorrent"/>
|
<addaction name="actionLock_qBittorrent"/>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QStatusBar" name="statusBar"/>
|
<widget class="QStatusBar" name="statusBar"/>
|
||||||
|
@@ -142,7 +142,7 @@ QVariant TorrentModelItem::data(int column, int role) const
|
|||||||
if(role != Qt::DisplayRole && role != Qt::UserRole) return QVariant();
|
if(role != Qt::DisplayRole && role != Qt::UserRole) return QVariant();
|
||||||
switch(column) {
|
switch(column) {
|
||||||
case TR_NAME:
|
case TR_NAME:
|
||||||
return m_name;
|
return m_name.isEmpty()? m_torrent.name() : m_name;
|
||||||
case TR_PRIORITY:
|
case TR_PRIORITY:
|
||||||
return m_torrent.queue_position();
|
return m_torrent.queue_position();
|
||||||
case TR_SIZE:
|
case TR_SIZE:
|
||||||
|
@@ -262,8 +262,11 @@ a.propButton img {
|
|||||||
|
|
||||||
/* Mocha Customization */
|
/* Mocha Customization */
|
||||||
#mochaToolbar .divider {
|
#mochaToolbar .divider {
|
||||||
background: url(../images/skin/toolbox-divider.gif) left center no-repeat;
|
background-image: url(../images/skin/toolbox-divider.gif);
|
||||||
padding: 25px 0 0 14px;
|
background-repeat: no-repeat;
|
||||||
|
background-position: left center;
|
||||||
|
padding-left: 14px;
|
||||||
|
padding-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.MyMenuIcon {
|
.MyMenuIcon {
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<center>
|
<center>
|
||||||
<br/>
|
<br/>
|
||||||
<h2 class="vcenter"><img class="vcenter" title="Download from URL" src="images/skin/url.png"/>_(Download Torrents from their URL or Magnet link)</h2>
|
<h2 class="vcenter"><img class="vcenter" title="Download from URL" src="theme/insert-link"/>_(Download Torrents from their URL or Magnet link)</h2>
|
||||||
<textarea name="list" id="urls" rows="10" cols="1"></textarea><p>_(Only one link per line)</p><a id=downButton>_(Download)</a>
|
<textarea name="list" id="urls" rows="10" cols="1"></textarea><p>_(Only one link per line)</p><a id=downButton>_(Download)</a>
|
||||||
</center>
|
</center>
|
||||||
</body>
|
</body>
|
||||||
|
@@ -69,16 +69,17 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="mochaToolbar">
|
<div id="mochaToolbar">
|
||||||
<a id="uploadButton"><img class="mochaToolButton" title="_(Download local torrent)" src="theme/list-add" width="32" height="32" onload="fixPNG(this)"/></a>
|
|
||||||
<a id="downloadButton"><img class="mochaToolButton" title="_(Download from URL)" src="theme/insert-link" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="uploadButton"><img class="mochaToolButton" title="_(Download local torrent)" src="theme/list-add" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
<a id="deleteButton" class="divider"><img class="mochaToolButton" title="_(Delete)" src="theme/list-remove" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="downloadButton"><img class="mochaToolButton" title="_(Download from URL)" src="theme/insert-link" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
<a id="resumeButton" class="divider"><img class="mochaToolButton" title="_(Start)" src="theme/media-playback-start" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="deleteButton" class="divider"><img class="mochaToolButton" title="_(Delete)" src="theme/list-remove" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
<a id="pauseButton"><img class="mochaToolButton" title="_(Pause)" src="theme/media-playback-pause" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="resumeButton" class="divider"><img class="mochaToolButton" title="_(Start)" src="theme/media-playback-start" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
|
<a id="pauseButton"><img class="mochaToolButton" title="_(Pause)" src="theme/media-playback-pause" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
<span id="queueingButtons">
|
<span id="queueingButtons">
|
||||||
<a id="decreasePrioButton" class="divider"><img class="mochaToolButton" title="_(Decrease priority)" src="theme/go-down" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="decreasePrioButton" class="divider"><img class="mochaToolButton" title="_(Decrease priority)" src="theme/go-down" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
<a id="increasePrioButton"><img class="mochaToolButton" title="_(Increase priority)" src="theme/go-up" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="increasePrioButton"><img class="mochaToolButton" title="_(Increase priority)" src="theme/go-up" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
</span>
|
</span>
|
||||||
<a id="preferencesButton" class="divider"><img class="mochaToolButton" title="_(Preferences)" src="theme/preferences-system" width="32" height="32" onload="fixPNG(this)"/></a>
|
<a id="preferencesButton" class="divider"><img class="mochaToolButton" title="_(Preferences)" src="theme/preferences-system" width="24" height="24" onload="fixPNG(this)"/></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="pageWrapper"><span id="error_div"></span>
|
<div id="pageWrapper"><span id="error_div"></span>
|
||||||
|
@@ -13,7 +13,7 @@ function hideAll() {
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<center>
|
<center>
|
||||||
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="images/skin/open.png"/>_(Download local torrent)</h1>
|
<h1 class="vcenter"><img class="vcenter" title="Download local torrent" src="theme/list-add"/>_(Download local torrent)</h1>
|
||||||
<iframe src="uploadframe.html" frameborder="0" style="padding: 10px; height: 70px; width: 450px;" id="myiframe">
|
<iframe src="uploadframe.html" frameborder="0" style="padding: 10px; height: 70px; width: 450px;" id="myiframe">
|
||||||
<p>Your Web browser does not support iframes</p>
|
<p>Your Web browser does not support iframes</p>
|
||||||
</iframe>
|
</iframe>
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
os2 {
|
os2 {
|
||||||
DEFINES += VERSION=\'\"v2.6.0\"\'
|
DEFINES += VERSION=\'\"v2.6.1\"\'
|
||||||
} else {
|
} else {
|
||||||
DEFINES += VERSION=\\\"v2.6.0\\\"
|
DEFINES += VERSION=\\\"v2.6.1\\\"
|
||||||
}
|
}
|
||||||
DEFINES += VERSION_MAJOR=2
|
DEFINES += VERSION_MAJOR=2
|
||||||
DEFINES += VERSION_MINOR=6
|
DEFINES += VERSION_MINOR=6
|
||||||
DEFINES += VERSION_BUGFIX=0
|
DEFINES += VERSION_BUGFIX=1
|
||||||
|
|
||||||
# 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