diff options
author | Michele Calgaro <[email protected]> | 2022-09-18 20:40:47 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2022-09-18 20:40:47 +0900 |
commit | a92640a3d98908db6d68cf107ca8dbced8447b7a (patch) | |
tree | cdef753a90563ae616a6e9310da4141454178b60 /src/MainWindow.cpp | |
parent | a80a494efee7979c28ab1090734270e5c0515352 (diff) | |
download | universal-indent-gui-tqt-a92640a3d98908db6d68cf107ca8dbced8447b7a.tar.gz universal-indent-gui-tqt-a92640a3d98908db6d68cf107ca8dbced8447b7a.zip |
Removed code related to 'Check for Update' functionality. This won't be part of this port.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 242797d..c3c6f1c 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -31,7 +31,6 @@ ///-- #include "UiGuiSettingsDialog.h" ///-- #include "UiGuiHighlighter.h" ///-- #include "IndentHandler.h" -///-- #include "UpdateCheckDialog.h" ///-- #include <tqpixmap.h> #include <tqaction.h> @@ -83,7 +82,7 @@ MainWindow::MainWindow(TQString file2OpenOnStart, TQWidget *parent) : ///- _highlighter(NULL), _textEditVScrollBar(NULL), _aboutDialog(NULL), _aboutDialogGraphicsView( ///- NULL), _settingsDialog(NULL), _encodingActionGroup(NULL), _saveEncodedActionGroup(NULL), ///- _highlighterActionGroup(NULL), _uiGuiTranslator(NULL), _qTTranslator(NULL), _toolBarWidget( -///- NULL), _indentHandler(NULL), _updateCheckDialog(NULL), _textEditLineColumnInfoLabel(NULL) +///- NULL), _indentHandler(NULL), _textEditLineColumnInfoLabel(NULL) { ///-- // Init of some variables. ///-- _sourceCodeChanged = false; @@ -140,14 +139,6 @@ MainWindow::MainWindow(TQString file2OpenOnStart, TQWidget *parent) : ///-- ///-- updateSourceView(); ///-- -///-- // Check if a newer version is available but only if the setting for that is enabled and today not -///-- // already a check has been done. -///-- if (_settings->getValueByName("CheckForUpdate").toBool() && -///-- TQDate::currentDate() != _settings->getValueByName("LastUpdateCheck").toDate()) -///-- { -///-- _updateCheckDialog->checkForUpdate(); -///-- } -///-- ///-- // Enable accept dropping of files. ///-- setAcceptDrops(true); } @@ -218,8 +209,6 @@ void MainWindow::initMainWindow() ///-- // ------------------------------- ///-- _currentEncoding = _settings->getValueByName("encoding").toString(); ///-- -///-- _updateCheckDialog = new UpdateCheckDialog(_settings, this); -///-- ///-- // Register the load last file setting in the menu to the _settings object. ///-- _settings->registerObjectProperty(actionLoadLastOpenedFileOnStartup, "checked", ///-- "loadLastSourceCodeFileOnStartup"); @@ -237,8 +226,6 @@ void MainWindow::initMainWindow() connect(actionSaveSourceFileAs, SIGNAL(activated()), this, SLOT(saveasSourceFileDialog())); connect(actionExportPDF, SIGNAL(activated()), this, SLOT(exportToPDF())); connect(actionExportHTML, SIGNAL(activated()), this, SLOT(exportToHTML())); -///-- connect(_mainWindowForm->actionCheck_for_update, SIGNAL(triggered()), _updateCheckDialog, -///-- SLOT(checkForUpdateAndShowDialog())); ///-- connect(actionShowLog, SIGNAL(activated()), ///-- debugging::TSLogger::getInstance(), SLOT(show())); ///-- |