Add a mechanism to store and retrieve preferences for the Web Inspector.
[WebKit-https.git] / WebKit / qt / WebCoreSupport / EditCommandQt.cpp
index e316a165a9ea4447999f288ae722738adadfebb4..153238889fffe300db3ff4314e7b19e57fec2e87 100644 (file)
 using namespace WebCore;
 
 EditCommandQt::EditCommandQt(WTF::RefPtr<EditCommand> cmd, QUndoCommand *parent)
-: QUndoCommand(parent), _cmd(cmd), _first(true) {
+:
+#ifndef QT_NO_UNDOCOMMAND
+    QUndoCommand(parent),
+#endif
+    _cmd(cmd), _first(true)
+{
 }