Commit 9752df7c authored by hjk's avatar hjk
Browse files

debugger: cosmetics

parent fe261bc2
......@@ -718,7 +718,7 @@ void DebuggerManager::createNewDock(QWidget *widget)
void DebuggerManager::setSimpleDockWidgetArrangement(const QString &activeLanguage)
{
if (activeLanguage == LANG_CPP || !activeLanguage.length()) {
if (activeLanguage == LANG_CPP || activeLanguage.isEmpty()) {
d->m_mainWindow->setTrackingEnabled(false);
QList<QDockWidget *> dockWidgets = d->m_mainWindow->dockWidgets();
foreach (QDockWidget *dockWidget, dockWidgets) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment