Skip to content

Commit

Permalink
proxy: Disable proxy for the application
Browse files Browse the repository at this point in the history
  • Loading branch information
yvbbrjdr committed May 25, 2021
1 parent b590a63 commit 6c351ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions LANDrop/trayicon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <QDesktopServices>
#include <QDir>
#include <QIcon>
#include <QNetworkProxy>
#include <QTimer>
#include <QUrl>

Expand All @@ -43,6 +44,8 @@

TrayIcon::TrayIcon(QObject *parent) : QSystemTrayIcon(parent)
{
QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy);

QIcon appIcon(":/icons/app.png");
QIcon appMaskIcon(":/icons/app_mask.png");
appMaskIcon.setIsMask(true);
Expand Down

0 comments on commit 6c351ba

Please sign in to comment.