diff options
| author | 2010-05-02 21:00:51 +0000 | |
|---|---|---|
| committer | 2010-05-02 21:00:51 +0000 | |
| commit | ec92902188f67d67d8014e8c771fca6ae3dd8ca0 (patch) | |
| tree | b3f1baffced10c88227488c6e5f11bf828c40385 /src/modules | |
| parent | fixed hop for dead channels (diff) | |
| download | KVIrc-ec92902188f67d67d8014e8c771fca6ae3dd8ca0.tar.gz KVIrc-ec92902188f67d67d8014e8c771fca6ae3dd8ca0.tar.bz2 KVIrc-ec92902188f67d67d8014e8c771fca6ae3dd8ca0.zip | |
fix for #778
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4305 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/sharedfile/libkvisharedfile.cpp | 2 | ||||
| -rw-r--r-- | src/modules/torrent/tc_statusbarapplet.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
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 <timeout> seconds. If the 'n' switch is used, the sharedfile - will be visible to the oter users as <visible name> instead + will be visible to the other users as <visible name> instead of the real <filename> (stripped of the leading path). <filename> 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) |
