|
|
|
@ -80,10 +80,11 @@ using namespace libtorrent;
@@ -80,10 +80,11 @@ using namespace libtorrent;
|
|
|
|
|
*****************************************************/ |
|
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
|
GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), displaySpeedInTitle(false), force_exit(false) { |
|
|
|
|
GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), force_exit(false) { |
|
|
|
|
setupUi(this); |
|
|
|
|
|
|
|
|
|
setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION))); |
|
|
|
|
displaySpeedInTitle = Preferences::speedInTitleBar(); |
|
|
|
|
// Setting icons
|
|
|
|
|
this->setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); |
|
|
|
|
actionOpen->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/open.png"))); |
|
|
|
|