History

Fix logging of intentionally crashing Interface

David Rowe committed 11 years ago

Commit 6923e3c1 parent 16346dd1 file · +1 −2Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+1−2
@@ -5075,11 +5075,10 @@ void Application::emulateMouse(Hand* hand, float click, float shift, int index) · 5074 unmodified lines
5075}5075}
5076 5076
5077void Application::crashApplication() {5077void Application::crashApplication() {
5078 qCDebug(interfaceapp) << "Intentionally crashed Interface";
5078 QObject* object = nullptr;5079 QObject* object = nullptr;
5079 bool value = object->isWindowType();5080 bool value = object->isWindowType();
5080 Q_UNUSED(value);5081 Q_UNUSED(value);
5081
5082 qCDebug(interfaceapp) << "Intentionally crashed Interface";
5083}5082}
5084 5083
5085void Application::setActiveDisplayPlugin(const QString& pluginName) {5084void Application::setActiveDisplayPlugin(const QString& pluginName) {