[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec
Maximiliano Curia
maxy at moszumanska.debian.org
Sat May 28 00:25:24 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=362a8d5
The following commit has been merged in the master branch:
commit 362a8d51c5b366f1d52e23a4484790aed521d00e
Author: Alexander Potashev <aspotashev at gmail.com>
Date: Mon Apr 27 06:47:49 2015 +0300
Notify the user if there are no Kopete logs to import
Testing done by me:
1. Message box pops up when choosing menu item "Import Kopete logs",
2. Message box does not pop up on first start with a clean ~/.config/
REVIEW: 123517
---
logviewer/log-viewer.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/logviewer/log-viewer.cpp b/logviewer/log-viewer.cpp
index 3a6774b..1ae0f7b 100644
--- a/logviewer/log-viewer.cpp
+++ b/logviewer/log-viewer.cpp
@@ -473,6 +473,10 @@ void LogViewer::slotImportKopeteLogs(bool force)
if (!matchingAccounts.isEmpty()) {
LogsImportDialog *dialog = new LogsImportDialog(this);
dialog->importLogs(matchingAccounts);
+ } else if (force) {
+ // "force" means that import of Kopete logs was requested by user.
+ // In this case we inform him/her why the import dialog hasn't been opened.
+ KMessageBox::information(this, i18n("No Kopete logs found."));
}
logsConfig.writeEntry(QLatin1String("InitialKopeteImportDone"), true);
--
ktp-text-ui packaging
More information about the pkg-kde-commits
mailing list