diff options
| author | 2016-01-12 21:31:47 +0100 | |
|---|---|---|
| committer | 2016-01-12 21:31:47 +0100 | |
| commit | b5e20d44193d5a60b33c72b9becf7d95b513792b (patch) | |
| tree | b2393717714b9fb47ab38119db5f4730d8913ca5 /src/modules/filetransferwindow | |
| parent | widget_identify: Fix grammar (diff) | |
| download | KVIrc-b5e20d44193d5a60b33c72b9becf7d95b513792b.tar.gz KVIrc-b5e20d44193d5a60b33c72b9becf7d95b513792b.tar.bz2 KVIrc-b5e20d44193d5a60b33c72b9becf7d95b513792b.zip | |
Fix #1839
Diffstat (limited to 'src/modules/filetransferwindow')
| -rw-r--r-- | src/modules/filetransferwindow/FileTransferWindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/filetransferwindow/FileTransferWindow.cpp b/src/modules/filetransferwindow/FileTransferWindow.cpp index 7040bc5a0..ada35883d 100644 --- a/src/modules/filetransferwindow/FileTransferWindow.cpp +++ b/src/modules/filetransferwindow/FileTransferWindow.cpp @@ -427,11 +427,11 @@ void FileTransferWindow::rightButtonPressed(FileTransferItem *it,const QPoint &p { tmp += "<nobr>"; tmp += __tr2qs_ctx("Size: %1","filetransferwindow").arg(KviQString::makeSizeReadable(fi.size())); - tmp += "</nobr><br>"; + tmp += "</nobr>"; } #ifdef COMPILE_KDE4_SUPPORT - tmp += "<nobr>Mime: "; + tmp += "<br><nobr>Mime: "; tmp += KMimeType::findByPath(szFile)->name(); tmp += "</nobr>"; #endif //COMPILE_KDE4_SUPPORT @@ -440,6 +440,7 @@ void FileTransferWindow::rightButtonPressed(FileTransferItem *it,const QPoint &p QLabel * l = new QLabel(tmp, m_pLocalFilePopup); QPalette p; l->setStyleSheet("background-color: " + p.color(QPalette::Normal, QPalette::Mid).name()); + l->setContentsMargins(10,10,10,10); pWaction->setDefaultWidget(l); m_pLocalFilePopup->addAction(pWaction); |
