[SCM] ktp-contact-list packaging branch, master, updated. debian/15.12.1-2-1070-g6c56f91

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:07:06 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=dc9b318

The following commit has been merged in the master branch:
commit dc9b318584c64ce7c927bfd5e720ef9814bd966e
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date:   Mon Jul 18 20:22:58 2011 +0200

    Align the settings button to the right edge
    
    Reviewed-by: Francesco Nwokeka
---
 main-widget.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/main-widget.cpp b/main-widget.cpp
index 68c8333..e924c61 100644
--- a/main-widget.cpp
+++ b/main-widget.cpp
@@ -159,6 +159,11 @@ MainWidget::MainWidget(QWidget *parent)
 
     m_toolBar->addAction(m_searchContactAction);
 
+    QWidget *toolBarSpacer = new QWidget(this);
+    toolBarSpacer->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
+
+    m_toolBar->addWidget(toolBarSpacer);
+
     QToolButton *settingsButton = new QToolButton(this);
     settingsButton->setIcon(KIcon("configure"));
     settingsButton->setPopupMode(QToolButton::InstantPopup);
@@ -195,7 +200,6 @@ MainWidget::MainWidget(QWidget *parent)
 
     settingsButton->setMenu(settingsButtonMenu);
 
-    m_toolBar->addSeparator();
     m_toolBar->addWidget(settingsButton);
 
     // Start setting up the Telepathy AccountManager.

-- 
ktp-contact-list packaging



More information about the pkg-kde-commits mailing list