forked from qt-creator/qt-creator
Changed return type of :ICore::mainWindow() to QWidget*
Also removed all <QMainWindow> includes which are not needed anymore. Change-Id: I393c9a62a5c6df95d9f35d872e1473a4f13bcdc4 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -37,9 +37,9 @@
|
||||
#include <QSettings>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QMainWindow;
|
||||
class QPrinter;
|
||||
class QStatusBar;
|
||||
class QWidget;
|
||||
template <class T> class QList;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -112,7 +112,7 @@ public:
|
||||
static QString resourcePath();
|
||||
static QString userResourcePath();
|
||||
|
||||
static QMainWindow *mainWindow();
|
||||
static QWidget *mainWindow();
|
||||
static QStatusBar *statusBar();
|
||||
|
||||
static IContext *currentContextObject();
|
||||
|
||||
Reference in New Issue
Block a user