|
|
@ -82,7 +82,6 @@ void qt_mac_set_dock_menu(QMenu *menu); |
|
|
|
#include "programupdater.h" |
|
|
|
#include "programupdater.h" |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
#include "powermanagement.h" |
|
|
|
#include "powermanagement.h" |
|
|
|
#include "smtp.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
using namespace libtorrent; |
|
|
|
using namespace libtorrent; |
|
|
|
|
|
|
|
|
|
|
@ -98,9 +97,6 @@ using namespace libtorrent; |
|
|
|
// Constructor
|
|
|
|
// Constructor
|
|
|
|
MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false) { |
|
|
|
MainWindow::MainWindow(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), m_posInitialized(false), force_exit(false) { |
|
|
|
setupUi(this); |
|
|
|
setupUi(this); |
|
|
|
// TODO: Remove this
|
|
|
|
|
|
|
|
Smtp *sender = new Smtp(this); |
|
|
|
|
|
|
|
sender->sendMail("notification@qbittorrent.org", Preferences().getMailNotificationEmail(), "title", "content"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Preferences pref; |
|
|
|
Preferences pref; |
|
|
|
ui_locked = pref.isUILocked(); |
|
|
|
ui_locked = pref.isUILocked(); |
|
|
|