Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/KCMTelepathyAccounts/simple-profile-select-widget.cpp b/src/KCMTelepathyAccounts/simple-profile-select-widget.cpp
- index 8f3ec90..3687dcb 100644
- --- a/src/KCMTelepathyAccounts/simple-profile-select-widget.cpp
- +++ b/src/KCMTelepathyAccounts/simple-profile-select-widget.cpp
- @@ -65,31 +65,39 @@ SimpleProfileSelectWidget::SimpleProfileSelectWidget(ProfileListModel *profileLi
- d->ui = new Ui::SimpleProfileSelectWidget;
- d->ui->setupUi(this);
- + QSizePolicy commandButtonsSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
- +
- // Create the buttons for the Major Profiles
- QCommandLinkButton *buttonJabber = new QCommandLinkButton(Dictionary::instance()->string(QLatin1String("jabber")));
- buttonJabber->setIcon(KIcon(QLatin1String("im-jabber")));
- buttonJabber->setIconSize(QSize(32,32));
- + buttonJabber->setSizePolicy(commandButtonsSizePolicy);
- QCommandLinkButton *buttonGTalk = new QCommandLinkButton(Dictionary::instance()->string(QLatin1String("google-talk")));
- buttonGTalk->setIcon(KIcon(QLatin1String("im-google-talk")));
- buttonGTalk->setIconSize(QSize(32,32));
- -
- + buttonGTalk->setSizePolicy(commandButtonsSizePolicy);
- +
- QCommandLinkButton *buttonFacebook = new QCommandLinkButton(Dictionary::instance()->string(QLatin1String("facebook")));
- buttonFacebook->setIcon(KIcon(QLatin1String("im-facebook")));
- buttonFacebook->setIconSize(QSize(32,32));
- -
- + buttonFacebook->setSizePolicy(commandButtonsSizePolicy);
- +
- QCommandLinkButton *buttonIcq = new QCommandLinkButton(Dictionary::instance()->string(QLatin1String("icq")));
- buttonIcq->setIcon(KIcon(QLatin1String("im-icq")));
- buttonIcq->setIconSize(QSize(32,32));
- -
- + buttonIcq->setSizePolicy(commandButtonsSizePolicy);
- +
- QCommandLinkButton *buttonMsn = new QCommandLinkButton(Dictionary::instance()->string(QLatin1String("msn")));
- buttonMsn->setIcon(KIcon(QLatin1String("im-msn")));
- buttonMsn->setIconSize(QSize(32,32));
- -
- + buttonMsn->setSizePolicy(commandButtonsSizePolicy);
- +
- QCommandLinkButton *buttonOthers = new QCommandLinkButton(i18n("Others"), i18n("AOL, Gadu-Gadu, IRC, Yahoo and more..."));
- buttonOthers->setIcon(KIcon(QLatin1String("go-next")));
- buttonOthers->setIconSize(QSize(32,32));
- -
- + buttonOthers->setSizePolicy(commandButtonsSizePolicy);
- +
- // Add them to the SignalMapper
- d->signalMapper->setMapping(buttonJabber, QLatin1String("jabber"));
- d->signalMapper->setMapping(buttonGTalk, QLatin1String("google-talk"));
- diff --git a/src/add-account-assistant.cpp b/src/add-account-assistant.cpp
- index 52dd6f9..41bef54 100644
- --- a/src/add-account-assistant.cpp
- +++ b/src/add-account-assistant.cpp
- @@ -121,6 +121,7 @@ AddAccountAssistant::AddAccountAssistant(Tp::AccountManagerPtr accountManager, Q
- KAssistantDialog::setAppropriate(d->pageTwo, false);
- resize(QSize(400, 480));
- +
- }
- AddAccountAssistant::~AddAccountAssistant()
Add Comment
Please, Sign In to add comment