diff --git a/src/chatdlg.ui b/src/chatdlg.ui index 99ebe99f4..3e1cee12f 100644 --- a/src/chatdlg.ui +++ b/src/chatdlg.ui @@ -6,7 +6,7 @@ 0 0 - 455 + 463 344 @@ -29,7 +29,7 @@ - Qt::Vertical + Qt::Orientation::Vertical @@ -39,10 +39,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain @@ -93,32 +93,13 @@ true - QComboBox::AdjustToMinimumContentsLengthWithIcon + QComboBox::SizeAdjustPolicy::AdjustToMinimumContentsLengthWithIcon 10 - - - - - 16 - 16 - - - - - 16 - 16 - - - - - - - @@ -143,16 +124,16 @@ Message length - QFrame::Panel + QFrame::Shape::Panel - QFrame::Sunken + QFrame::Shadow::Sunken 0 - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + Qt::AlignmentFlag::AlignRight|Qt::AlignmentFlag::AlignTrailing|Qt::AlignmentFlag::AlignVCenter @@ -216,7 +197,7 @@ - QToolButton::InstantPopup + QToolButton::ToolButtonPopupMode::InstantPopup @@ -235,10 +216,10 @@ - QToolButton::InstantPopup + QToolButton::ToolButtonPopupMode::InstantPopup - Qt::NoArrow + Qt::ArrowType::NoArrow @@ -253,7 +234,7 @@ - Qt::NoFocus + Qt::FocusPolicy::NoFocus @@ -267,10 +248,10 @@ - QFrame::NoFrame + QFrame::Shape::NoFrame - QFrame::Plain + QFrame::Shadow::Plain @@ -294,7 +275,7 @@ - Qt::Horizontal + Qt::Orientation::Horizontal @@ -309,7 +290,6 @@ - 75 true @@ -348,7 +328,7 @@ - Qt::CustomContextMenu + Qt::ContextMenuPolicy::CustomContextMenu Send @@ -361,7 +341,7 @@ Avatar - Qt::AlignCenter + Qt::AlignmentFlag::AlignCenter diff --git a/src/psichatdlg.cpp b/src/psichatdlg.cpp index f1a3e9f95..e76f2f9d5 100644 --- a/src/psichatdlg.cpp +++ b/src/psichatdlg.cpp @@ -374,7 +374,6 @@ void PsiChatDlg::setLooks() int s = PsiIconset::instance()->system().iconSize(); ui_.lb_status->setFixedSize(s, s); - ui_.lb_client->setFixedSize(s, s); ui_.tb_pgp->hide(); if (smallChat_) { @@ -384,9 +383,7 @@ void PsiChatDlg::setLooks() ui_.tb_emoticons->hide(); ui_.toolbar->hide(); ui_.tb_voice->hide(); - ui_.lb_client->hide(); } else { - ui_.lb_client->show(); ui_.lb_status->show(); ui_.le_jid->show(); if (PsiOptions::instance()->getOption("options.ui.contactlist.toolbars.m0.visible").toBool()) { @@ -824,9 +821,8 @@ void PsiChatDlg::contactUpdated(UserListItem *u, int status, const QString &stat if (!client.isEmpty()) { const QPixmap &pix = IconsetFactory::iconPixmap("clients/" + client, int(fontInfo().pixelSize() * EqTextIconK + .5)); - ui_.lb_client->setPixmap(pix); } - ui_.lb_client->setToolTip(r.versionString()); + ui_.le_jid->setToolTip(r.versionString()); } } }