forked from qt-creator/qt-creator
Debugger: Consolidate Debugger view creation
Change-Id: I43353911c7c0c8250ee2bccddcf5fdccf04d457c Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
#ifndef DEBUGGER_STACKWINDOW_H
|
||||
#define DEBUGGER_STACKWINDOW_H
|
||||
|
||||
#include "basewindow.h"
|
||||
#include <utils/basetreeview.h>
|
||||
|
||||
namespace Debugger {
|
||||
@@ -41,7 +40,7 @@ class StackTreeView : public Utils::BaseTreeView
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit StackTreeView(QWidget *parent = 0);
|
||||
StackTreeView();
|
||||
|
||||
private slots:
|
||||
void showAddressColumn(bool on);
|
||||
@@ -54,17 +53,6 @@ private:
|
||||
void copyContentsToClipboard();
|
||||
};
|
||||
|
||||
class StackWindow : public BaseWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
StackWindow() : BaseWindow(new StackTreeView)
|
||||
{
|
||||
setWindowTitle(tr("Stack"));
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace Debugger
|
||||
|
||||
|
||||
Reference in New Issue
Block a user