summaryrefslogtreecommitdiffstats
path: root/pica-client
diff options
context:
space:
mode:
Diffstat (limited to 'pica-client')
-rw-r--r--pica-client/dialogs/filetransferdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/dialogs/filetransferdialog.cpp b/pica-client/dialogs/filetransferdialog.cpp
index d733d0d..7705fc8 100644
--- a/pica-client/dialogs/filetransferdialog.cpp
+++ b/pica-client/dialogs/filetransferdialog.cpp
@@ -12,7 +12,7 @@ FileTransferDialog::FileTransferDialog(QByteArray peer_id, QString filename, qui
filesize_(size)
{
QVBoxLayout *layout = new QVBoxLayout(this);
- QHBoxLayout *btlayout = new QHBoxLayout(this);
+ QHBoxLayout *btlayout = new QHBoxLayout();
lbFilename = new QLabel(this);
lbProgressStatus = new QLabel(this);