All pastes #515767 Raw Edit

Something

public text v1 · immutable
#515767 ·published 2007-05-28 11:02 UTC
rendered paste body
Index: debugger/debugger.ui
===================================================================
--- debugger/debugger.ui        (revision 5088)
+++ debugger/debugger.ui        (working copy)
@@ -1,6 +1,6 @@
 <ui version="4.0" >
  <class>Debugger</class>
- <widget class="QDialog" name="Debugger" >
+ <widget class="QMainWindow" name="Debugger" >
   <property name="geometry" >
    <rect>
     <x>0</x>
Index: debugger/ui.h
===================================================================
--- debugger/ui.h       (revision 5089)
+++ debugger/ui.h       (working copy)
@@ -1,7 +1,7 @@
 #ifndef UI_H
 #define UI_H

-#include <QDialog>
+#include <QMainWindow>

 #ifdef __UNIXSDL__ //I hate this hack -Nach
 #include "debugger/ui_debugger.h"
@@ -9,7 +9,7 @@
 #include "ui_debugger.h"
 #endif

-class DebuggerDialog : public QDialog
+class DebuggerDialog : public QMainWindow
 {
   Q_OBJECT

Index: debugger/ui.cpp
===================================================================
--- debugger/ui.cpp     (revision 5089)
+++ debugger/ui.cpp     (working copy)
@@ -1,6 +1,6 @@
 #include "ui.h"

-DebuggerDialog::DebuggerDialog(QWidget *parent) : QDialog(parent)
+DebuggerDialog::DebuggerDialog(QWidget *parent) : QMainWindow(parent)
 {
   ui.setupUi(this);
 }