summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/uninstallwindow.cpp
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-09-15 22:57:07 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-09-15 22:57:07 +0000
commit1464c9b5d03c105d985320083fd36788036a0dd6 (patch)
treeeaa039f5632d5d8eb5065fb81fe462a95031c149 /rbutil/rbutilqt/uninstallwindow.cpp
parent76ea412d5f8ea786b60aaf773e44b997f36aaa01 (diff)
downloadrockbox-1464c9b5d03c105d985320083fd36788036a0dd6.tar.gz
rockbox-1464c9b5d03c105d985320083fd36788036a0dd6.tar.bz2
rockbox-1464c9b5d03c105d985320083fd36788036a0dd6.zip
Cosmetics: remove trailing spaces.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14723 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/uninstallwindow.cpp')
-rw-r--r--rbutil/rbutilqt/uninstallwindow.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/rbutil/rbutilqt/uninstallwindow.cpp b/rbutil/rbutilqt/uninstallwindow.cpp
index 5dcfbb894b..61ca8410be 100644
--- a/rbutil/rbutilqt/uninstallwindow.cpp
+++ b/rbutil/rbutilqt/uninstallwindow.cpp
@@ -24,7 +24,7 @@
UninstallWindow::UninstallWindow(QWidget *parent) : QDialog(parent)
{
ui.setupUi(this);
- ui.UninstalllistWidget->setAlternatingRowColors(true);
+ ui.UninstalllistWidget->setAlternatingRowColors(true);
connect(ui.UninstalllistWidget,SIGNAL(itemSelectionChanged()),this,SLOT(selectionChanged()));
connect(ui.CompleteRadioBtn,SIGNAL(toggled(bool)),this,SLOT(UninstallMethodChanged(bool)));
}
@@ -43,7 +43,7 @@ void UninstallWindow::accept()
{
uninstaller->uninstall(logger);
}
- connect(logger,SIGNAL(closed()),this,SLOT(close()));
+ connect(logger,SIGNAL(closed()),this,SLOT(close()));
}
@@ -55,7 +55,7 @@ void UninstallWindow::selectionChanged()
{
seletedStrings << itemlist.at(i)->text();
}
-
+
uninstaller->setSections(seletedStrings);
}
@@ -64,7 +64,7 @@ void UninstallWindow::UninstallMethodChanged(bool complete)
if(complete)
ui.smartGroupBox->setEnabled(false);
else
- ui.smartGroupBox->setEnabled(true);
+ ui.smartGroupBox->setEnabled(true);
}
void UninstallWindow::setDeviceSettings(QSettings *dev)
@@ -77,12 +77,12 @@ void UninstallWindow::setDeviceSettings(QSettings *dev)
void UninstallWindow::setUserSettings(QSettings *user)
{
userSettings = user;
-
+
QString mountpoint =userSettings->value("mountpoint").toString();
uninstaller = new Uninstaller(this,mountpoint);
-
+
// disable smart uninstall, if not possible
- if(!uninstaller->uninstallPossible())
+ if(!uninstaller->uninstallPossible())
{
ui.smartRadioButton->setEnabled(false);
ui.smartGroupBox->setEnabled(false);
@@ -90,7 +90,7 @@ void UninstallWindow::setUserSettings(QSettings *user)
}
else // fill in installed parts
{
- ui.smartRadioButton->setChecked(true);
- ui.UninstalllistWidget->addItems(uninstaller->getAllSections());
+ ui.smartRadioButton->setChecked(true);
+ ui.UninstalllistWidget->addItems(uninstaller->getAllSections());
}
}