mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
qTox v1.2.1 bugfix release
Windows: - Fixes some Windows updater edge cases. - The windows updater learned to fetch updates over HTTPS - New profiles now check for updates by default, this can of course still be disabled in the settings. - The taskbar icon on Windows is now properly loaded and in high quality All: - Changed the behavior when clicking on the tray icon - Some translations update
This commit is contained in:
commit
a4af80fbcc
|
@ -8,8 +8,8 @@ qTox [![Build Status](https://travis-ci.org/tux3/qTox.svg)](https://travis-ci.or
|
|||
----
|
||||
|
||||
* **Windows**:
|
||||
- [**64 bit download**](https://build.tox.chat/view/Clients/job/qTox_build_windows_x86-64_release/lastSuccessfulBuild/artifact/qTox_build_windows_x86-64_release.zip)
|
||||
- [**32 bit download** (for older hardware)](https://build.tox.chat/view/Clients/job/qTox_build_windows_x86_release/lastSuccessfulBuild/artifact/qTox_build_windows_x86_release.zip)
|
||||
- [**64 bit download**](https://build.tox.chat/view/qtox/job/qTox_pkg_windows_x86-64_stable_release/lastSuccessfulBuild/artifact/setup-qtox.exe)
|
||||
- [**32 bit download**](https://build.tox.chat/view/qtox/job/qTox_pkg_windows_x86_stable_release/lastSuccessfulBuild/artifact/setup-qtox.exe)
|
||||
* **Linux**:
|
||||
- [**64 bit download**](https://build.tox.chat/view/Clients/job/qTox_build_linux_x86-64_release/lastSuccessfulBuild/artifact/qTox_build_linux_x86-64_release.tar.xz)
|
||||
- [**32 bit download**](https://build.tox.chat/view/Clients/job/qTox_build_linux_x86_release/lastSuccessfulBuild/artifact/qTox_build_linux_x86_release.tar.xz)
|
||||
|
|
4
qtox.pro
4
qtox.pro
|
@ -142,8 +142,8 @@ contains(DEFINES, QTOX_PLATFORM_EXT) {
|
|||
win32 {
|
||||
RC_FILE = windows/qtox.rc
|
||||
LIBS += -L$$PWD/libs/lib -ltoxav -ltoxcore -ltoxencryptsave -ltoxdns -lsodium -lvpx -lpthread
|
||||
LIBS += -L$$PWD/libs/lib -lavformat -lavdevice -lavcodec -lavutil -lswscale -lOpenAL32 -lopus
|
||||
LIBS += -lopengl32 -lole32 -loleaut32 -lvfw32 -lws2_32 -liphlpapi -lz -luuid
|
||||
LIBS += -L$$PWD/libs/lib -lavdevice -lavformat -lavcodec -lavutil -lswscale -lOpenAL32 -lopus
|
||||
LIBS += -lopengl32 -lole32 -loleaut32 -lvfw32 -lws2_32 -liphlpapi -lgdi32 -lshlwapi -luuid
|
||||
LIBS += -lqrencode
|
||||
LIBS += -lstrmiids # For DirectShow
|
||||
contains(DEFINES, QTOX_FILTER_AUDIO) {
|
||||
|
|
|
@ -47,7 +47,7 @@ const QString AutoUpdater::platform = "win64";
|
|||
const QString AutoUpdater::platform = "win32";
|
||||
#endif
|
||||
const QString AutoUpdater::updaterBin = "qtox-updater.exe";
|
||||
const QString AutoUpdater::updateServer = "http://45.79.166.124";
|
||||
const QString AutoUpdater::updateServer = "https://qtox-win.pkg.tox.chat";
|
||||
|
||||
unsigned char AutoUpdater::key[crypto_sign_PUBLICKEYBYTES] =
|
||||
{
|
||||
|
@ -86,6 +86,9 @@ bool AutoUpdater::isUpdateAvailable()
|
|||
if (isDownloadingUpdate)
|
||||
return false;
|
||||
|
||||
if (!QFile::exists(updaterBin))
|
||||
return false;
|
||||
|
||||
QByteArray updateFlist = getUpdateFlist();
|
||||
QList<UpdateFileMeta> diff = genUpdateDiff(parseFlist(updateFlist));
|
||||
return !diff.isEmpty();
|
||||
|
@ -100,6 +103,9 @@ AutoUpdater::VersionInfo AutoUpdater::getUpdateVersion()
|
|||
if (platform.isEmpty())
|
||||
return versionInfo;
|
||||
|
||||
if (abortFlag)
|
||||
return versionInfo;
|
||||
|
||||
QNetworkAccessManager *manager = new QNetworkAccessManager;
|
||||
QNetworkReply* reply = manager->get(QNetworkRequest(QUrl(checkURI)));
|
||||
while (!reply->isFinished())
|
||||
|
@ -531,6 +537,8 @@ void AutoUpdater::checkUpdatesAsyncInteractiveWorker()
|
|||
QDateTime::fromMSecsSinceEpoch(newVersion.timestamp*1000).toString());
|
||||
|
||||
|
||||
if (abortFlag)
|
||||
return;
|
||||
|
||||
if (GUI::askQuestion(QObject::tr("Update", "The title of a message box"),
|
||||
contentText, true, false))
|
||||
|
|
|
@ -165,7 +165,7 @@ void Settings::loadGlobal()
|
|||
currentProfileId = makeProfileId(currentProfile);
|
||||
}
|
||||
autoAwayTime = s.value("autoAwayTime", 10).toInt();
|
||||
checkUpdates = s.value("checkUpdates", false).toBool();
|
||||
checkUpdates = s.value("checkUpdates", true).toBool();
|
||||
showWindow = s.value("showWindow", true).toBool();
|
||||
showInFront = s.value("showInFront", false).toBool();
|
||||
notifySound = s.value("notifySound", true).toBool();
|
||||
|
|
|
@ -38,7 +38,7 @@ SystemTrayIcon::SystemTrayIcon()
|
|||
{
|
||||
qDebug() << "Using Unity backend";
|
||||
gtk_init(nullptr, nullptr);
|
||||
QString settingsDir = Settings::getSettingsDirPath();
|
||||
QString settingsDir = Settings::getInstance().getSettingsDirPath();
|
||||
QFile iconFile(settingsDir+"/icon.png");
|
||||
if (iconFile.open(QIODevice::Truncate | QIODevice::WriteOnly))
|
||||
{
|
||||
|
@ -108,7 +108,7 @@ QString SystemTrayIcon::extractIconToFile(QIcon icon, QString name)
|
|||
(void) icon;
|
||||
(void) name;
|
||||
#ifdef ENABLE_SYSTRAY_UNITY_BACKEND
|
||||
iconPath = Settings::getSettingsDirPath()+"/"+name+".png";
|
||||
iconPath = Settings::getInstance().getSettingsDirPath()+"/"+name+".png";
|
||||
QSize iconSize = icon.actualSize(QSize{64,64});
|
||||
icon.pixmap(iconSize).save(iconPath);
|
||||
#endif
|
||||
|
|
|
@ -741,52 +741,31 @@ void Widget::confirmExecutableOpen(const QFileInfo &file)
|
|||
|
||||
void Widget::onIconClick(QSystemTrayIcon::ActivationReason reason)
|
||||
{
|
||||
switch (reason)
|
||||
if (reason == QSystemTrayIcon::Trigger)
|
||||
{
|
||||
case QSystemTrayIcon::Trigger:
|
||||
if (isHidden() || isMinimized())
|
||||
{
|
||||
if (isHidden())
|
||||
{
|
||||
show();
|
||||
activateWindow();
|
||||
if (wasMaximized)
|
||||
showMaximized();
|
||||
else
|
||||
showNormal();
|
||||
}
|
||||
else if (isMinimized())
|
||||
{
|
||||
forceShow();
|
||||
activateWindow();
|
||||
if (wasMaximized)
|
||||
showMaximized();
|
||||
else
|
||||
showNormal();
|
||||
}
|
||||
else
|
||||
{
|
||||
wasMaximized = isMaximized();
|
||||
if (Settings::getInstance().getMinimizeToTray())
|
||||
hide();
|
||||
else
|
||||
showMinimized();
|
||||
}
|
||||
|
||||
break;
|
||||
activateWindow();
|
||||
}
|
||||
else if (!isActiveWindow())
|
||||
{
|
||||
activateWindow();
|
||||
}
|
||||
case QSystemTrayIcon::MiddleClick:
|
||||
wasMaximized = isMaximized();
|
||||
if (Settings::getInstance().getMinimizeToTray())
|
||||
hide();
|
||||
else
|
||||
showMinimized();
|
||||
break;
|
||||
case QSystemTrayIcon::Unknown:
|
||||
{
|
||||
wasMaximized = isMaximized();
|
||||
hide();
|
||||
}
|
||||
}
|
||||
else if (reason == QSystemTrayIcon::Unknown)
|
||||
{
|
||||
if (isHidden())
|
||||
forceShow();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
148
translations/it.ts
vendored
148
translations/it.ts
vendored
|
@ -121,6 +121,148 @@ Può capitare che la tua connessione ad internet non sia abbastanza veloce per g
|
|||
qualità video elevate, questo può causare problemi con le chiamate video.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AboutForm</name>
|
||||
<message>
|
||||
<source>About</source>
|
||||
<translation>About</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Qt version:</source>
|
||||
<translation>Versione Qt:</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AboutSettings</name>
|
||||
<message>
|
||||
<source>Form</source>
|
||||
<translation>Form</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Version</source>
|
||||
<translation>Versione</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You are using a qTox nightly build.</source>
|
||||
<translation>Stai utilizzando la versione nightly build di qTox.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Commit hash: <a href="https://github.com/tux3/qTox/commit/$GIT_VERSION">$GIT_VERSION</a></source>
|
||||
<translation>Commit hash: <a href="https://github.com/tux3/qTox/commit/$GIT_VERSION">$GIT_VERSION</a></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>toxcore version: $TOXCOREVERSION</source>
|
||||
<translation>Versione toxcore: $TOXCOREVERSION</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Qt version:</source>
|
||||
<translation>Versione Qt:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>License</source>
|
||||
<translation>Licenza</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Oxygen-Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; color:#000000;">Copyright © 2014-2015 by The qTox Project</span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">qTox is a Qt-based graphical interface for Tox.</span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox is libre software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. </span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">You should have received a copy of the GNU General Public License along with this program. If not, see </span><a href="https://www.gnu.org/copyleft/gpl.html"><span style=" font-family:'Ubuntu'; text-decoration: underline; color:#007af4;">https://www.gnu.org/copyleft/gpl.html</span></a><span style=" font-family:'Ubuntu';">.</span></p></body></html></source>
|
||||
<translation><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
|
||||
p, li { white-space: pre-wrap; }
|
||||
</style></head><body style=" font-family:'Oxygen-Sans'; font-size:10pt; font-weight:400; font-style:normal;">
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif'; color:#000000;">Copyright © 2014-2015 by The qTox Project</span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">qTox è un'interfaccia grafica per Tox basato su Qt.</span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox è un software libero: è possibile ridistribuirlo o modificarlo secondo i termini della GNU General Public License come pubblicata dalla Free Software Foundation, o la versione 3 della licenza o (a tua scelta) qualsiasi versione successiva.</span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Sans Serif';">qTox è distribuito nella speranza che sia utile, ma senza alcuna garanzia; senza neppure la garanzia implicita di commerciabilità o idoneità per uno scopo particolare. Vedi la GNU General Public License per maggiori dettagli. </span></p>
|
||||
<p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'Ubuntu';">Dovresti aver ricevuto una copia della GNU General Public License insieme a questo programma. In caso contrario, vedere </span><a href="https://www.gnu.org/copyleft/gpl.html"><span style=" font-family:'Ubuntu'; text-decoration: underline; color:#007af4;">https://www.gnu.org/copyleft/gpl.html</span></a><span style=" font-family:'Ubuntu';">.</span></p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Authors</source>
|
||||
<translation>Autori</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body><p>Original author: <a href="https://github.com/tux3"><span style=" text-decoration: underline; color:#0000ff;">tux3</span></a></p><p>See a full list of <a href="https://github.com/tux3/qTox/graphs/contributors"><span style=" text-decoration: underline; color:#0000ff;">contributors</span></a> at Github</p></body></html></source>
|
||||
<translation><html><head/><body><p>Autore originale : <a href="https://github.com/tux3"><span style=" text-decoration: underline; color:#0000ff;">tux3</span></a></p><p>Guarda la lista completa degli <a href="https://github.com/tux3/qTox/graphs/contributors"><span style=" text-decoration: underline; color:#0000ff;">sviluppatori</span></a> su Github</p></body></html></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Known Issues</source>
|
||||
<translation>Problemi Noti</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source><html><head/><body><p>A list of all known issues may be found at our <a href="https://github.com/tux3/qTox/issues"><span style=" text-decoration: underline; color:#0000ff;">bug-tracker</span></a> at Github. If you discover a bug or security vulnerability within qTox, please report it according to the guidelines in our <a href="https://github.com/tux3/qTox/wiki/Writing-Useful-Bug-Reports"><span style=" text-decoration: underline; color:#0000ff;">Writing Useful Bug Reports</span></a> wiki article.</p></body></html></source>
|
||||
<translation><html><head/><body><p>Un elenco di tutti i problemi noti può essere trovato presso il nostro <a href="https://github.com/tux3/qTox/issues"><span style=" text-decoration: underline; color:#0000ff;">bug-tracker</span></a> su Github. Se si trova un bug o una vulnerabilità all'interno di qTox, si prega di segnalarlo secondo le linee guida nel nostro <a href="https://github.com/tux3/qTox/wiki/Writing-Useful-Bug-Reports"><span style=" text-decoration: underline; color:#0000ff;">Writing Useful Bug Reports</span></a> articolo di wiki.</p></body></html></translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AboutUser</name>
|
||||
<message>
|
||||
<source>Dialog</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>username</source>
|
||||
<translation>Nome profilo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>status message</source>
|
||||
<translation>messagggio di stato</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Public key:</source>
|
||||
<translation>Chiave pubblica:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Used aliases:</source>
|
||||
<translation>Soprannomi usati:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>HISTORY OF ALIASES</source>
|
||||
<translation>Cronologia dei soprannomi</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Default directory to save files:</source>
|
||||
<translation>Cartella predefinita per salvare i file:</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Auto accept for this contact is disabled</source>
|
||||
<translation type="unfinished"></translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Auto accept files</source>
|
||||
<translation>Accetta automaticamente i file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Remove history (operation can not be undone!)</source>
|
||||
<translation>Rimuovi la cronologia (questa operazione non può essere cancellata!)</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Notes</source>
|
||||
<translation>Note</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>You can save comment about this contact here.</source>
|
||||
<translation>È possibile salvare un commento su questo contatto qui.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Choose an auto accept directory</source>
|
||||
<comment>popup title</comment>
|
||||
<translation type="unfinished">Scegliere una cartella dove accettare automaticamente i file</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>History removed</source>
|
||||
<translation>Cronologia rimossa</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Chat history with %1 removed!</source>
|
||||
<translation>Cronologia chat con %1 rimossa!</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
<name>AddFriendForm</name>
|
||||
<message>
|
||||
|
@ -1545,7 +1687,7 @@ password:</translation>
|
|||
<location filename="../src/widget/loginscreen.cpp" line="126"/>
|
||||
<source>The passwords you've entered are different.
|
||||
Please make sure to enter same password twice.</source>
|
||||
<translation>Le passwords che hai inserito sono diverse.
|
||||
<translation>Le password che hai inserito sono diverse.
|
||||
Assicurati di inserire la stessa password due volte.</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
@ -2009,7 +2151,7 @@ Permettimi di aggiungerti alla mia lista contatti.</translation>
|
|||
<message>
|
||||
<location filename="../src/widget/form/setpassworddialog.cpp" line="36"/>
|
||||
<source>The passwords don't match.</source>
|
||||
<translation>Le passwords non corrispondono.</translation>
|
||||
<translation>Le password non corrispondono.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<location filename="../src/widget/form/setpassworddialog.cpp" line="60"/>
|
||||
|
@ -2019,7 +2161,7 @@ Permettimi di aggiungerti alla mia lista contatti.</translation>
|
|||
<message>
|
||||
<location filename="../src/widget/form/setpassworddialog.cpp" line="65"/>
|
||||
<source>The password doesn't match.</source>
|
||||
<translation>Le passwords non corrispondono.</translation>
|
||||
<translation>Le password non corrispondono.</translation>
|
||||
</message>
|
||||
</context>
|
||||
<context>
|
||||
|
|
Loading…
Reference in New Issue
Block a user