mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
commit
68ca95faf0
16 changed files with 43 additions and 43 deletions
|
@ -291,7 +291,7 @@ const QString straceWin::getBacktrace()
|
|||
demangle(funcName);
|
||||
#endif
|
||||
|
||||
// now ihsf.InstructionOffset points to the instruction that follows CALL instuction
|
||||
// now ihsf.InstructionOffset points to the instruction that follows CALL instruction
|
||||
// decrease the query address by one byte to point somewhere in the CALL instruction byte sequence
|
||||
sourceFile = getSourcePathAndLineNumber(hProcess, ihsf.InstructionOffset - 1);
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@ bool RequestParser::parsePostMessage(const QByteArray &data)
|
|||
|
||||
const QByteArray delimiter = Utils::String::unquote(contentType.midRef(idx + boundaryFieldName.size())).toLatin1();
|
||||
if (delimiter.isEmpty()) {
|
||||
qWarning() << Q_FUNC_INFO << "boundary delimiter field emtpy!";
|
||||
qWarning() << Q_FUNC_INFO << "boundary delimiter field empty!";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@ void DNSUpdater::processIPUpdateReply(const QString &reply)
|
|||
return;
|
||||
}
|
||||
|
||||
// Everything bellow is an error, stop updating until the user updates something
|
||||
// Everything below is an error, stop updating until the user updates something
|
||||
m_ipCheckTimer.stop();
|
||||
m_lastIP.clear();
|
||||
if (code == "nohost") {
|
||||
|
|
|
@ -238,7 +238,7 @@ QVariantHash TransactionalSettings::read()
|
|||
QString newPath = deserialize(m_name + QLatin1String("_new"), res);
|
||||
if (!newPath.isEmpty()) { // "_new" file is NOT empty
|
||||
// This means that the PC closed either due to power outage
|
||||
// or because the disk was full. In any case the settings weren't transfered
|
||||
// or because the disk was full. In any case the settings weren't transferred
|
||||
// in their final position. So assume that qbittorrent_new.ini/qbittorrent_new.conf
|
||||
// contains the most recent settings.
|
||||
Logger::instance()->addMessage(QObject::tr("Detected unclean program exit. Using fallback file to restore settings."), Log::WARNING);
|
||||
|
|
|
@ -1516,7 +1516,7 @@ void MainWindow::updateGUI()
|
|||
{
|
||||
const BitTorrent::SessionStatus &status = BitTorrent::Session::instance()->status();
|
||||
|
||||
// update global informations
|
||||
// update global information
|
||||
#ifndef Q_OS_MAC
|
||||
if (m_systrayIcon) {
|
||||
#ifdef Q_OS_UNIX
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
<item>
|
||||
<widget class="QComboBox" name="filterMode">
|
||||
<property name="toolTip">
|
||||
<string><html><head/><body><p>Some search engines search in torrent description and in torrent file names too. Whether such results will be shown in the list below is controlled by this mode.</p><p><span style=" font-weight:600;">Everywhere </span>disables filtering and shows everyhing returned by the search engines.</p><p><span style=" font-weight:600;">Torrent names only</span> shows only torrents whose names match the search query.</p></body></html></string>
|
||||
<string><html><head/><body><p>Some search engines search in torrent description and in torrent file names too. Whether such results will be shown in the list below is controlled by this mode.</p><p><span style=" font-weight:600;">Everywhere </span>disables filtering and shows everything returned by the search engines.</p><p><span style=" font-weight:600;">Torrent names only</span> shows only torrents whose names match the search query.</p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
@ -63,7 +63,7 @@ void StatsDialog::update()
|
|||
const BitTorrent::SessionStatus &ss = BitTorrent::Session::instance()->status();
|
||||
const BitTorrent::CacheStatus &cs = BitTorrent::Session::instance()->cacheStatus();
|
||||
|
||||
// Alltime DL/UL
|
||||
// All-time DL/UL
|
||||
quint64 atd = BitTorrent::Session::instance()->getAlltimeDL();
|
||||
quint64 atu = BitTorrent::Session::instance()->getAlltimeUL();
|
||||
m_ui->labelAlltimeDL->setText(Utils::Misc::friendlyUnit(atd));
|
||||
|
|
|
@ -239,7 +239,7 @@ class WinUnicodeOutput(WinUnicodeOutputBase):
|
|||
"""Output adaptor to a file output on Windows.
|
||||
|
||||
If the standard FileWrite function is used, it will be encoded in the current
|
||||
code page. WriteConsoleW() permits writting any character.
|
||||
code page. WriteConsoleW() permits writing any character.
|
||||
"""
|
||||
def __init__(self, stream, fileno, encoding):
|
||||
super(WinUnicodeOutput, self).__init__(
|
||||
|
@ -356,7 +356,7 @@ def fix_win_console(encoding):
|
|||
def fix_encoding():
|
||||
"""Fixes various encoding problems on all platforms.
|
||||
|
||||
Should be called at the very begining of the process.
|
||||
Should be called at the very beginning of the process.
|
||||
"""
|
||||
ret = True
|
||||
if sys.platform == 'win32':
|
||||
|
|
|
@ -344,7 +344,7 @@ window.addEvent('load', function () {
|
|||
response['torrents_removed'].each(function (hash) {
|
||||
torrentsTable.removeRow(hash);
|
||||
removeTorrentFromCategoryList(hash);
|
||||
update_categories = true; // Allways to update All category
|
||||
update_categories = true; // Always to update All category
|
||||
});
|
||||
torrentsTable.updateTable(full_update);
|
||||
torrentsTable.altRow();
|
||||
|
|
|
@ -62,7 +62,7 @@ var ContextMenu = new Class({
|
|||
if (this.menu.hasClass('scrollableMenu'))
|
||||
this.menu.setStyle('max-height', scrollableMenuMaxHeight);
|
||||
|
||||
// draw the menu off-screen to know the menu dimentions
|
||||
// draw the menu off-screen to know the menu dimensions
|
||||
this.menu.setStyles({
|
||||
left: '-999em',
|
||||
top: '-999em'
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
Script : Dynamic Table
|
||||
Version : 0.5
|
||||
Authors : Ishan Arora & Christophe Dumez
|
||||
Desc : Programable sortable table
|
||||
Desc : Programmable sortable table
|
||||
Licence : Open Source MIT Licence
|
||||
|
||||
**************************************************************/
|
||||
|
|
|
@ -49,7 +49,7 @@ if (!document.createElement('canvas').getContext) {
|
|||
var Z2 = Z / 2;
|
||||
|
||||
/**
|
||||
* This funtion is assigned to the <canvas> elements as element.getContext().
|
||||
* This function is assigned to the <canvas> elements as element.getContext().
|
||||
* @this {HTMLElement}
|
||||
* @return {CanvasRenderingContext2D_}
|
||||
*/
|
||||
|
@ -469,7 +469,7 @@ if (!document.createElement('canvas').getContext) {
|
|||
contextPrototype.drawImage = function(image, var_args) {
|
||||
var dx, dy, dw, dh, sx, sy, sw, sh;
|
||||
|
||||
// to find the original width we overide the width and height
|
||||
// to find the original width we override the width and height
|
||||
var oldRuntimeWidth = image.runtimeStyle.width;
|
||||
var oldRuntimeHeight = image.runtimeStyle.height;
|
||||
image.runtimeStyle.width = 'auto';
|
||||
|
@ -479,7 +479,7 @@ if (!document.createElement('canvas').getContext) {
|
|||
var w = image.width;
|
||||
var h = image.height;
|
||||
|
||||
// and remove overides
|
||||
// and remove overrides
|
||||
image.runtimeStyle.width = oldRuntimeWidth;
|
||||
image.runtimeStyle.height = oldRuntimeHeight;
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ MUI.extend({
|
|||
|
||||
updateOptions:
|
||||
element - The parent window or panel.
|
||||
childElement - The child element of the window or panel recieving the content.
|
||||
childElement - The child element of the window or panel receiving the content.
|
||||
method - ('get', or 'post') The way data is transmitted.
|
||||
data - (hash) Data to be transmitted
|
||||
title - (string) Change this if you want to change the title of the window or panel.
|
||||
|
@ -1891,7 +1891,7 @@ MUI.Window = new Class({
|
|||
setupEvents: function() {
|
||||
var windowEl = this.windowEl;
|
||||
// Set events
|
||||
// Note: if a button does not exist, its due to properties passed to newWindow() stating otherwice
|
||||
// Note: if a button does not exist, its due to properties passed to newWindow() stating otherwise
|
||||
if (this.closeButtonEl){
|
||||
this.closeButtonEl.addEvent('click', function(e) {
|
||||
new Event(e).stop();
|
||||
|
@ -3646,7 +3646,7 @@ MUI.extend({
|
|||
/*
|
||||
|
||||
Internal Function: dynamicResize
|
||||
Use with a timer to resize a window as the window's content size changes, such as with an accordian.
|
||||
Use with a timer to resize a window as the window's content size changes, such as with an accordion.
|
||||
|
||||
*/
|
||||
dynamicResize: function(windowEl){
|
||||
|
@ -3908,7 +3908,7 @@ MUI.files[MUI.path.source + 'Window/Arrange-cascade.js'] = 'loaded';
|
|||
MUI.extend({
|
||||
arrangeCascade: function(){
|
||||
|
||||
var viewportTopOffset = 30; // Use a negative number if neccessary to place first window where you want it
|
||||
var viewportTopOffset = 30; // Use a negative number if necessary to place first window where you want it
|
||||
var viewportLeftOffset = 20;
|
||||
var windowTopOffset = 50; // Initial vertical spacing of each window
|
||||
var windowLeftOffset = 40;
|
||||
|
@ -3993,7 +3993,7 @@ MUI.files[MUI.path.source + 'Window/Arrange-tile.js'] = 'loaded';
|
|||
MUI.extend({
|
||||
arrangeTile: function(){
|
||||
|
||||
var viewportTopOffset = 30; // Use a negative number if neccessary to place first window where you want it
|
||||
var viewportTopOffset = 30; // Use a negative number if necessary to place first window where you want it
|
||||
var viewportLeftOffset = 20;
|
||||
|
||||
var x = 10;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue