diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-18 14:11:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-09-18 14:11:00 +0900 |
commit | 3db895919a4cd36972dd5241f480a68fe0f4eb4d (patch) | |
tree | ecf77c90fad566fa883f02277492e9b29602e563 /src/MainWindow.cpp | |
parent | 7e8aa1a5c0d085467ef82942f2eca78fbbf19386 (diff) | |
download | universal-indent-gui-tqt-3db895919a4cd36972dd5241f480a68fe0f4eb4d.tar.gz universal-indent-gui-tqt-3db895919a4cd36972dd5241f480a68fe0f4eb4d.zip |
Clean up some unused stuff
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r-- | src/MainWindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 4c71ba2..a00bb52 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -915,8 +915,10 @@ void MainWindow::previewTurnedOnOff(bool turnOn) */ void MainWindow::updateWindowTitle() { + // TQt3 does not support the 'modified [*]' property present in Qt4's QWidget setCaption("UniversalIndentGUI (TQt) " + TQString(PROGRAM_VERSION_STRING) + - " [*] " + m_currentSourceFile); + //" [*] " + m_currentSourceFile); + m_currentSourceFile); } /* @@ -1085,6 +1087,7 @@ void MainWindow::closeEvent(TQCloseEvent *event) */ bool MainWindow::maybeSave() { + // TQt3 does not support the 'isWindowModified()' method present in Qt4's QWidget ///-- if (isWindowModified()) ///-- { ///-- int ret = TQMessageBox::warning(this, tr("Modified code"), tr( |