mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
* GuiView:
- mainWidget(): deleted * GuiImplementation.C: adapted to above change. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14624 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8e836c60d8
commit
58d136aa60
@ -82,7 +82,7 @@ int GuiImplementation::newWorkArea(unsigned int w, unsigned int h, int view_id)
|
||||
work_areas_[id]->setBufferView(buffer_views_[id].get());
|
||||
view->setWorkArea(work_areas_[id].get());
|
||||
|
||||
view->mainWidget()->setCentralWidget(work_areas_[id].get());
|
||||
view->setCentralWidget(work_areas_[id].get());
|
||||
|
||||
return id;
|
||||
}
|
||||
|
@ -73,8 +73,6 @@ int const statusbar_timer_value = 3000;
|
||||
GuiView::GuiView(Gui & owner)
|
||||
: QMainWindow(), LyXView(owner), commandbuffer_(0)
|
||||
{
|
||||
mainWidget_ = this;
|
||||
|
||||
// setToolButtonStyle(Qt::ToolButtonIconOnly);
|
||||
// setIconSize(QSize(12,12));
|
||||
|
||||
@ -249,15 +247,6 @@ void GuiView::busy(bool yes) const
|
||||
QApplication::restoreOverrideCursor();
|
||||
}
|
||||
|
||||
|
||||
QMainWindow* GuiView::mainWidget()
|
||||
{
|
||||
return mainWidget_;
|
||||
}
|
||||
|
||||
QMainWindow* GuiView::mainWidget_ = 0;
|
||||
|
||||
|
||||
} // namespace frontend
|
||||
} // namespace lyx
|
||||
|
||||
|
@ -78,9 +78,6 @@ public:
|
||||
/// returns true if this view has the focus.
|
||||
virtual bool hasFocus() const;
|
||||
|
||||
///
|
||||
static QMainWindow* mainWidget();
|
||||
|
||||
public Q_SLOTS:
|
||||
/// idle timeout
|
||||
void update_view_state_qt();
|
||||
@ -114,9 +111,6 @@ private:
|
||||
/// command buffer
|
||||
QCommandBuffer * commandbuffer_;
|
||||
|
||||
///
|
||||
static QMainWindow* mainWidget_;
|
||||
|
||||
///
|
||||
void updateFloatingGeometry();
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user