summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/uninstallwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/uninstallwindow.cpp')
-rw-r--r--rbutil/rbutilqt/uninstallwindow.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/rbutil/rbutilqt/uninstallwindow.cpp b/rbutil/rbutilqt/uninstallwindow.cpp
index 61ca8410be..86c7400b99 100644
--- a/rbutil/rbutilqt/uninstallwindow.cpp
+++ b/rbutil/rbutilqt/uninstallwindow.cpp
@@ -67,18 +67,12 @@ void UninstallWindow::UninstallMethodChanged(bool complete)
ui.smartGroupBox->setEnabled(true);
}
-void UninstallWindow::setDeviceSettings(QSettings *dev)
-{
- devices = dev;
- qDebug() << "Install::setDeviceSettings:" << devices;
-}
-
-void UninstallWindow::setUserSettings(QSettings *user)
+void UninstallWindow::setSettings(RbSettings *sett)
{
- userSettings = user;
+ settings = sett;
- QString mountpoint =userSettings->value("mountpoint").toString();
+ QString mountpoint =settings->mountpoint();
uninstaller = new Uninstaller(this,mountpoint);
// disable smart uninstall, if not possible