Commit 3cff7afb authored by hjk's avatar hjk
Browse files

debugger: cosmetics

parent ef074dad
......@@ -645,11 +645,10 @@ bool CommonOptionsPage::matches(const QString &s) const
//
///////////////////////////////////////////////////////////////////////
static inline bool oxygenStyle()
static bool oxygenStyle()
{
if (const ManhattanStyle *ms = qobject_cast<const ManhattanStyle *>(qApp->style()))
return !qstrcmp("OxygenStyle", ms->baseStyle()->metaObject()->className());
return false;
const ManhattanStyle *ms = qobject_cast<const ManhattanStyle *>(qApp->style());
return ms && !qstrcmp("OxygenStyle", ms->baseStyle()->metaObject()->className());
}
class DebuggingHelperOptionPage : public Core::IOptionsPage
......
Markdown is supported
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