diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-14 13:56:28 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-04-14 13:56:28 -0700 |
| commit | 1cfa67bbdd4242a52484f13f3533babb4d4c07a6 (patch) | |
| tree | d772b3b7cc40371afaa494c4e623511133e0e33e /ZeroTierUI/licensedialog.cpp | |
| parent | a2605561af19d7de7ed492d1faf00d7ff161c6ea (diff) | |
| download | infinitytier-1cfa67bbdd4242a52484f13f3533babb4d4c07a6.tar.gz infinitytier-1cfa67bbdd4242a52484f13f3533babb4d4c07a6.zip | |
Bunch more control plane work, and shelve old UI -- React FTW.
Diffstat (limited to 'ZeroTierUI/licensedialog.cpp')
| -rw-r--r-- | ZeroTierUI/licensedialog.cpp | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/ZeroTierUI/licensedialog.cpp b/ZeroTierUI/licensedialog.cpp deleted file mode 100644 index 4baebb72..00000000 --- a/ZeroTierUI/licensedialog.cpp +++ /dev/null @@ -1,43 +0,0 @@ -#include <stdio.h> -#include <stdlib.h> - -#include "main.h" -#include "licensedialog.h" -#include "ui_licensedialog.h" - -#include "../node/Constants.hpp" - -LicenseDialog::LicenseDialog(QWidget *parent) : - QDialog(parent), - ui(new Ui::LicenseDialog) -{ - ui->setupUi(this); - -#ifdef __WINDOWS__ - QWidgetList widgets = this->findChildren<QWidget*>(); - foreach(QWidget *widget, widgets) { - QFont font(widget->font()); - font.setPointSizeF(font.pointSizeF() * 0.75); - widget->setFont(font); - } - this->raise(); -#endif -} - -LicenseDialog::~LicenseDialog() -{ - delete ui; -} - -void LicenseDialog::on_buttonBox_accepted() -{ - settings->setValue("acceptedLicenseV1",true); - settings->sync(); - - this->setResult(QDialog::Accepted); -} - -void LicenseDialog::on_buttonBox_rejected() -{ - ::exit(0); -} |
