diff options
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( |