diff options
author | Jing Bai <jing.bai@digia.com> | 2013-01-15 18:04:10 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-21 10:15:20 (GMT) |
commit | 8c2284e811d6a1e5d1d5f0703f127e66800baf78 (patch) | |
tree | 54636ac29412d8ceaacacdab831065808a468e00 /src/scripttools/debugging | |
parent | 32426500bc9126de7322ce666e1fae4c0848731f (diff) | |
download | Qt-8c2284e811d6a1e5d1d5f0703f127e66800baf78.zip Qt-8c2284e811d6a1e5d1d5f0703f127e66800baf78.tar.gz Qt-8c2284e811d6a1e5d1d5f0703f127e66800baf78.tar.bz2 |
To support QT_NO_IM on Linux/Windows/Mac
Fix compilation issue when QT_NO_IM is defined.
Also fixed references in tests. But fixing
plugins/examples seem not necessary at this point.
Task-number: QTBUG-26109
Change-Id: I2067051951616012117efa6716640cbf198fdb2a
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/scripttools/debugging')
-rw-r--r-- | src/scripttools/debugging/qscriptdebugger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripttools/debugging/qscriptdebugger.cpp b/src/scripttools/debugging/qscriptdebugger.cpp index c1a84a9..995900f 100644 --- a/src/scripttools/debugging/qscriptdebugger.cpp +++ b/src/scripttools/debugging/qscriptdebugger.cpp @@ -881,6 +881,7 @@ void QScriptDebuggerPrivate::_q_goToLine() QScriptDebuggerCodeViewInterface *view = codeWidget->currentView(); if (!view) return; +#ifndef QT_NO_INPUTDIALOG bool ok = false; int lineNumber = QInputDialog::getInteger(0, QScriptDebugger::tr("Go to Line"), QScriptDebugger::tr("Line:"), @@ -888,6 +889,7 @@ void QScriptDebuggerPrivate::_q_goToLine() 1, INT_MAX, 1, &ok); if (ok) view->gotoLine(lineNumber); +#endif } class QScriptDebuggerShowLineJob : public QScriptDebuggerCommandSchedulerJob |