From ec92902188f67d67d8014e8c771fca6ae3dd8ca0 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 2 May 2010 21:00:51 +0000 Subject: fix for #778 git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4305 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/sharedfile/libkvisharedfile.cpp | 2 +- src/modules/torrent/tc_statusbarapplet.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/modules') diff --git a/src/modules/sharedfile/libkvisharedfile.cpp b/src/modules/sharedfile/libkvisharedfile.cpp index e50c85657..62c03d4ca 100644 --- a/src/modules/sharedfile/libkvisharedfile.cpp +++ b/src/modules/sharedfile/libkvisharedfile.cpp @@ -64,7 +64,7 @@ extern KVIRC_API KviSharedFilesManager * g_pSharedFilesManager; be automatically set to '*!*@*'.[br] If the 't' switch is used, the sharedfile will be removed after seconds. If the 'n' switch is used, the sharedfile - will be visible to the oter users as instead + will be visible to the other users as instead of the real (stripped of the leading path). must be an absolute path. @seealso: diff --git a/src/modules/torrent/tc_statusbarapplet.cpp b/src/modules/torrent/tc_statusbarapplet.cpp index cc420a2cd..117a68057 100644 --- a/src/modules/torrent/tc_statusbarapplet.cpp +++ b/src/modules/torrent/tc_statusbarapplet.cpp @@ -40,9 +40,8 @@ KviTorrentStatusBarApplet::KviTorrentStatusBarApplet(KviStatusBar *parent, KviSt timer->setInterval(250); timer->setSingleShot(false); timer->start(250); -// updateDisplay(); -// - setText("torrent client"); + + setText(__tr2qs_ctx("Torrent Client","torrent")); } KviTorrentStatusBarApplet::~KviTorrentStatusBarApplet() @@ -51,8 +50,9 @@ KviTorrentStatusBarApplet::~KviTorrentStatusBarApplet() static KviStatusBarApplet *CreateTorrentClientApplet(KviStatusBar *bar, KviStatusBarAppletDescriptor *desc) { - qDebug("CreateTorrentClientApplet"); - return new KviTorrentStatusBarApplet(bar, desc); + KviStatusBarApplet * pApplet = new KviTorrentStatusBarApplet(bar, desc); + pApplet->setIndex(bar->insertPermanentWidgetAtTheEnd(pApplet)); + return pApplet; } void KviTorrentStatusBarApplet::selfRegister(KviStatusBar *bar) -- cgit v1.3.1-10-gc9f91