summaryrefslogtreecommitdiffstats
path: root/src/scripttools/debugging/qscriptdebugger.cpp
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2009-09-25 14:42:01 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2009-09-25 14:42:01 (GMT)
commit2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1 (patch)
treef6ddb01707d2e59e29b47ffcd2ea016c3164fc54 /src/scripttools/debugging/qscriptdebugger.cpp
parent586722a4e288e9f1e9d7751a0e87e39c274144d8 (diff)
downloadQt-2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1.zip
Qt-2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1.tar.gz
Qt-2b1f40b7dcf7ef69fe1f832ff544fcb31cf5c3a1.tar.bz2
ifdefs to allow compilation with QT_NO_MAINWINDOW and QT_NO_TOOLBAR
Reviewed-by: Paul
Diffstat (limited to 'src/scripttools/debugging/qscriptdebugger.cpp')
-rw-r--r--src/scripttools/debugging/qscriptdebugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripttools/debugging/qscriptdebugger.cpp b/src/scripttools/debugging/qscriptdebugger.cpp
index 6a23bd1..c09e494 100644
--- a/src/scripttools/debugging/qscriptdebugger.cpp
+++ b/src/scripttools/debugging/qscriptdebugger.cpp
@@ -1927,6 +1927,7 @@ QMenu *QScriptDebugger::createStandardMenu(QWidget *widgetParent, QObject *actio
return menu;
}
+#ifndef QT_NO_TOOLBAR
QToolBar *QScriptDebugger::createStandardToolBar(QWidget *widgetParent, QObject *actionParent)
{
QToolBar *tb = new QToolBar(widgetParent);
@@ -1942,6 +1943,7 @@ QToolBar *QScriptDebugger::createStandardToolBar(QWidget *widgetParent, QObject
tb->addAction(action(FindInScriptAction, actionParent));
return tb;
}
+#endif
bool QScriptDebugger::isInteractive() const
{