From 830a6250c6636d9e163125c7fc3d12d029f314d9 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 1 Jun 2010 16:10:59 +0000 Subject: [PATCH] Changed window title on Win32 and Mac --- src/GUI.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/GUI.cpp b/src/GUI.cpp index 57587735a..dbe273262 100644 --- a/src/GUI.cpp +++ b/src/GUI.cpp @@ -85,7 +85,13 @@ using namespace libtorrent; GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), displaySpeedInTitle(false), force_exit(false) { setupUi(this); - setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION))); + setWindowTitle(tr("qBittorrent %1", "e.g: qBittorrent v0.x").arg(QString::fromUtf8(VERSION)) +#if defined(Q_WS_WIN) + +" [Windows]" +#elif defined(Q_WS_MAC) + +" [Mac OS X]" +#endif + ); // Setting icons this->setWindowIcon(QIcon(QString::fromUtf8(":/Icons/skin/qbittorrent32.png"))); actionOpen->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/open.png")));