aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/raweditor/libkviraweditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/raweditor/libkviraweditor.cpp')
-rw-r--r--src/modules/raweditor/libkviraweditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/raweditor/libkviraweditor.cpp b/src/modules/raweditor/libkviraweditor.cpp
index 350c3fbbe..73ebac4f2 100644
--- a/src/modules/raweditor/libkviraweditor.cpp
+++ b/src/modules/raweditor/libkviraweditor.cpp
@@ -46,12 +46,12 @@ RawEditorWindow * g_pRawEditorWindow = 0;
Opens the script raw events editor dialog.
*/
-static bool raweditor_kvs_cmd_open(KviKvsModuleCommandCall * c)
+static bool raweditor_kvs_cmd_open(KviKvsModuleCommandCall *)
{
if(!g_pRawEditorWindow)
{
- g_pRawEditorWindow = new RawEditorWindow(c->window()->frame());
- c->window()->frame()->addWindow(g_pRawEditorWindow);
+ g_pRawEditorWindow = new RawEditorWindow();
+ g_pMainWindow->addWindow(g_pRawEditorWindow);
}
g_pRawEditorWindow->setFocus();
return true;