summaryrefslogtreecommitdiff
path: root/ZeroTierUI/aboutwindow.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-17 18:40:01 -0800
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-12-17 18:40:01 -0800
commita388830983e85e184932f608d1795d6477b653c8 (patch)
tree290034ec404e6fd3895eb1c3467d1c0a4deaca52 /ZeroTierUI/aboutwindow.cpp
parentea4269e0d27b5005ca3e4540088ec9462886e925 (diff)
downloadinfinitytier-a388830983e85e184932f608d1795d6477b653c8.tar.gz
infinitytier-a388830983e85e184932f608d1795d6477b653c8.zip
Some UI appearance improvements.
Diffstat (limited to 'ZeroTierUI/aboutwindow.cpp')
-rw-r--r--ZeroTierUI/aboutwindow.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/ZeroTierUI/aboutwindow.cpp b/ZeroTierUI/aboutwindow.cpp
index 1a2b2290..b5e9454f 100644
--- a/ZeroTierUI/aboutwindow.cpp
+++ b/ZeroTierUI/aboutwindow.cpp
@@ -9,23 +9,9 @@ AboutWindow::AboutWindow(QWidget *parent) :
ui(new Ui::AboutWindow)
{
ui->setupUi(this);
-#ifndef __APPLE__
- ui->uninstallButton->hide();
-#endif
}
AboutWindow::~AboutWindow()
{
delete ui;
}
-
-void AboutWindow::on_uninstallButton_clicked()
-{
- // Apple only... other OSes have more intrinsic mechanisms for uninstalling.
- QMessageBox::information(
- this,
- "Uninstalling ZeroTier One",
- QString("Uninstalling ZeroTier One is easy!\n\nJust remove ZeroTier One from your Applications folder and the service will automatically shut down within a few seconds. Then, on your next reboot, all other support files will be automatically deleted.\n\nIf you wish to uninstall the service and support files now, you can run the 'uninstall.sh' script found in ") + ZeroTier::ZT_DEFAULTS.defaultHomePath.c_str() + " using the 'sudo' command in a terminal.",
- QMessageBox::Ok,
- QMessageBox::NoButton);
-}