[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:03:15 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=23f9bbd

The following commit has been merged in the master branch:
commit 23f9bbd5f50a69f083ce04360757cc993532d008
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Sat Dec 31 01:07:04 2011 +0100

    Update display name in Sunshine
---
 plugins/sunshine/sunshine-main-options-widget.cpp | 7 ++++++-
 plugins/sunshine/sunshine-main-options-widget.h   | 1 +
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/plugins/sunshine/sunshine-main-options-widget.cpp b/plugins/sunshine/sunshine-main-options-widget.cpp
index f6beaec..af69f38 100644
--- a/plugins/sunshine/sunshine-main-options-widget.cpp
+++ b/plugins/sunshine/sunshine-main-options-widget.cpp
@@ -29,7 +29,7 @@ SunshineMainOptionsWidget::SunshineMainOptionsWidget(ParameterEditModel *model,
     m_ui = new Ui::SunshineMainOptionsWidget;
     m_ui->setupUi(this);
 
-    handleParameter(QLatin1String("account"),  QVariant::String, m_ui->accountLineEdit,  m_ui->accountLabel);
+    handleParameter(QLatin1String("account"),  QVariant::String, m_ui->accountLineEdit,  m_ui->accountLabel, true);
     handleParameter(QLatin1String("password"), QVariant::String, m_ui->passwordLineEdit, m_ui->passwordLabel);
 
     QTimer::singleShot(0, m_ui->accountLineEdit, SLOT(setFocus()));
@@ -40,4 +40,9 @@ SunshineMainOptionsWidget::~SunshineMainOptionsWidget()
     delete m_ui;
 }
 
+void SunshineMainOptionsWidget::updateDefaultDisplayName()
+{
+    setDefaultDisplayName(m_ui->accountLineEdit->text());
+}
+
 #include "sunshine-main-options-widget.moc"
diff --git a/plugins/sunshine/sunshine-main-options-widget.h b/plugins/sunshine/sunshine-main-options-widget.h
index fbb6dca..7f1e99c 100644
--- a/plugins/sunshine/sunshine-main-options-widget.h
+++ b/plugins/sunshine/sunshine-main-options-widget.h
@@ -34,6 +34,7 @@ public:
                                     QWidget *parent = 0);
     virtual ~SunshineMainOptionsWidget();
 
+    virtual void updateDefaultDisplayName();
 private:
     Q_DISABLE_COPY(SunshineMainOptionsWidget);
     Ui::SunshineMainOptionsWidget *m_ui;

-- 
ktp-accounts-kcm packaging



More information about the pkg-kde-commits mailing list