diff options
| author | 2015-11-08 07:18:42 +0000 | |
|---|---|---|
| committer | 2015-11-09 14:47:03 +0000 | |
| commit | 4496b1924253f84d9f06ce75a928148254a8e61a (patch) | |
| tree | 02436f2a58e93cec777d955bac14d13c6101c22d /src/modules/channelsjoin/ChannelsJoinDialog.cpp | |
| parent | Don’t select any section in option dialogs by default. (diff) | |
| download | KVIrc-4496b1924253f84d9f06ce75a928148254a8e61a.tar.gz KVIrc-4496b1924253f84d9f06ce75a928148254a8e61a.tar.bz2 KVIrc-4496b1924253f84d9f06ce75a928148254a8e61a.zip | |
ChannelsJoinDialog: cleanup and minor button adjustments
Diffstat (limited to 'src/modules/channelsjoin/ChannelsJoinDialog.cpp')
| -rw-r--r-- | src/modules/channelsjoin/ChannelsJoinDialog.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/channelsjoin/ChannelsJoinDialog.cpp b/src/modules/channelsjoin/ChannelsJoinDialog.cpp index 73459dc79..a76474bba 100644 --- a/src/modules/channelsjoin/ChannelsJoinDialog.cpp +++ b/src/modules/channelsjoin/ChannelsJoinDialog.cpp @@ -75,14 +75,14 @@ ChannelsJoinDialog::ChannelsJoinDialog(const char * name) //connect(m_pTreeWidget,SIGNAL(itemDoubleClicked(QTreeWidgetItem *,int)),this,SLOT(itemDoubleClicked(QTreeWidgetItem *,int))); - m_pGroupBox = new KviTalGroupBox(Qt::Horizontal,__tr2qs("Channel" ),this); + m_pGroupBox = new KviTalGroupBox(Qt::Horizontal,__tr2qs("Channel"),this); QString szMsg = __tr2qs("Name"); szMsg.append(":"); new QLabel(szMsg,m_pGroupBox); m_pChannelEdit = new QLineEdit(m_pGroupBox); - connect(m_pChannelEdit,SIGNAL(returnPressed()), this, SLOT(editReturnPressed())); + connect(m_pChannelEdit,SIGNAL(returnPressed()),this,SLOT(editReturnPressed())); connect(m_pChannelEdit,SIGNAL(textChanged(const QString &)),this,SLOT(editTextChanged(const QString &))); szMsg = __tr2qs("Password"); @@ -97,7 +97,7 @@ ChannelsJoinDialog::ChannelsJoinDialog(const char * name) KviTalHBox * hb = new KviTalHBox(this); hb->setSpacing(4); - g->addWidget(hb,2,0,1,2,Qt::AlignHCenter); + g->addWidget(hb,2,0,1,2); m_pJoinButton = new QPushButton(__tr2qs("&Join"),hb); // Join on return pressed @@ -119,7 +119,7 @@ ChannelsJoinDialog::ChannelsJoinDialog(const char * name) QPushButton * cancelButton = new QPushButton(__tr2qs("Close"),this); connect(cancelButton,SIGNAL(clicked()),this,SLOT(cancelClicked())); - g->addWidget(cancelButton,3,1); + g->addWidget(cancelButton,3,1,Qt::AlignRight); /* KviTalHBox * hb = new KviTalHBox(this); |
