[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:19 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-contact-list.git;a=commitdiff;h=194a7dc
The following commit has been merged in the master branch:
commit 194a7dc5cbf64cec4a226efc6310ff3969f873a3
Author: Martin Klapetek <martin.klapetek at gmail.com>
Date: Thu Sep 1 10:19:03 2011 +0200
Auto save window geometry
Reviewed-by: David Edmundson
---
main-widget.cpp | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/main-widget.cpp b/main-widget.cpp
index edbe482..b477500 100644
--- a/main-widget.cpp
+++ b/main-widget.cpp
@@ -95,6 +95,7 @@ MainWidget::MainWidget(QWidget *parent)
setupUi(this);
m_filterBar->hide();
setWindowIcon(KIcon("telepathy-kde"));
+ setAutoSaveSettings();
KSharedConfigPtr config = KGlobal::config();
KConfigGroup guiConfigGroup(config, "GUI");
@@ -1453,7 +1454,7 @@ void MainWidget::closeEvent(QCloseEvent* e)
KConfigGroup notifyConigGroup(config, "Notification Messages");
ContactListApplication *app = qobject_cast<ContactListApplication*>(kapp);
- if (!app->isShuttingDown()) {
+ if (!app->isShuttingDown()) {
//the standard KMessageBox control saves "true" if you select the checkbox, therefore the reversed var name
bool dontCheckForPlasmoid = notifyConigGroup.readEntry("dont_check_for_plasmoid", false);
@@ -1483,10 +1484,10 @@ void MainWidget::closeEvent(QCloseEvent* e)
goOffline();
}
}
-
+
generalConfigGroup.config()->sync();
}
-
+
KMainWindow::closeEvent(e);
}
--
ktp-contact-list packaging
More information about the pkg-kde-commits
mailing list