[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/runtime/nepomuk/services/backupsync/gui
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2011-01-11 15:43:25
Message-ID: 20110111154325.218AAAC8B4 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1213787 by trueg:
Set a better window title than the name of the executable.
M +8 -0 backupwizard.cpp
--- trunk/KDE/kdebase/runtime/nepomuk/services/backupsync/gui/backupwizard.cpp #1213786:1213787
@@ -23,11 +23,19 @@
#include "backupwizard.h"
#include "backupwizardpages.h"
+#include <kglobal.h>
+#include <kcomponentdata.h>
+#include <kaboutdata.h>
+
+// TODO: 1. "Cancel" just closes the dialog without any feedback on the backup
+// 2. If the service crashes the dialog does not notice
+
Nepomuk::BackupWizard::BackupWizard(QWidget* parent, Qt::WindowFlags flags)
: QWizard(parent, flags)
{
setPixmap(LogoPixmap, KIcon(QLatin1String("nepomuk")).pixmap(32, 32));
setWindowIcon( KIcon(QLatin1String("nepomuk")) );
+ setWindowTitle( KGlobal::activeComponent().aboutData()->shortDescription() );
setPage( Id_IntroPage, new IntroPage(this) );
setPage( Id_BackupPage, new BackupPage(this) );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic