Commit f471ca32 authored by Boudewijn Rempt's avatar Boudewijn Rempt

remove unused statusbar label from KoMainWindow

parent 009a213c
......@@ -121,7 +121,6 @@ public:
saveActionAs = 0;
printAction = 0;
printActionPreview = 0;
statusBarLabel = 0;
sendFileAction = 0;
exportPdf = 0;
closeFile = 0;
......@@ -199,7 +198,6 @@ public:
KoView *activeView;
QWidget *m_activeWidget;
QLabel * statusBarLabel;
QPointer<QProgressBar> progress;
QMutex progressMutex;
......@@ -1670,15 +1668,6 @@ void KoMainWindow::slotProgress(int value)
qApp->processEvents();
}
QLabel * KoMainWindow::statusBarLabel()
{
if (!d->statusBarLabel) {
d->statusBarLabel = new QLabel(statusBar());
statusBar()->addPermanentWidget(d->statusBarLabel, 1);
}
return d->statusBarLabel;
}
void KoMainWindow::setMaxRecentItems(uint _number)
{
d->recent->setMaxItems(_number);
......
......@@ -108,12 +108,6 @@ public:
*/
bool toolbarIsVisible(const char *tbName);
/**
* Get hold of the label in the statusbar, to write messages to it.
* You can also insert other items in the status bar by using QStatusBar::addWidget.
*/
QLabel *statusBarLabel();
/**
* Sets the maximum number of recent documents entries.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment