summaryrefslogtreecommitdiffstats
path: root/examples/testapp/mainwindow.cpp
diff options
context:
space:
mode:
authorkh1 <qt-info@nokia.com>2011-06-01 15:29:31 +0200
committerkh1 <qt-info@nokia.com>2011-06-01 15:29:31 +0200
commit0711e42ccda9c583eb472ae89904faf2c232b3ba (patch)
treebdb434c96d724af67d2ca96d1ec29e6d1f39a56e /examples/testapp/mainwindow.cpp
parente2e31f26bce9092426c8193abaf066536f8d3d9c (diff)
Style changes.
Diffstat (limited to 'examples/testapp/mainwindow.cpp')
-rw-r--r--examples/testapp/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/testapp/mainwindow.cpp b/examples/testapp/mainwindow.cpp
index 81a613e2c..9c7364de5 100644
--- a/examples/testapp/mainwindow.cpp
+++ b/examples/testapp/mainwindow.cpp
@@ -102,7 +102,7 @@ void MainWindow::checkForUpdates()
}
// no updates for us
- if(m_installer.components(false, UpdaterMode).isEmpty()) {
+ if (m_installer.components(false, UpdaterMode).isEmpty()) {
QMessageBox::information(this, tr("Check for Updates"), tr("There are currently no updates "
"available for you."));
return;
@@ -114,7 +114,7 @@ void MainWindow::checkForUpdates()
// this will automatically mark components as to get installed
ComponentSelectionDialog componentSelection(&m_installer, this);
- if(componentSelection.exec() == QDialog::Rejected)
+ if (componentSelection.exec() == QDialog::Rejected)
return;
QProgressDialog dialog(this);
@@ -155,7 +155,7 @@ void MainWindow::updatesAvailable()
void MainWindow::updatesInstalled()
{
// only ask that dumb question if a SelfUpdateOperation was executed
- if(!KDSelfRestarter::restartOnQuit()) {
+ if (!KDSelfRestarter::restartOnQuit()) {
QMessageBox::information(this, tr("Updates Installed"), tr("Installation complete."));
return;
}