diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp --- a/app/mainwindow.cpp +++ b/app/mainwindow.cpp @@ -51,6 +51,7 @@ #include #include #include +#include static bool isValidArchiveDrag(const QMimeData *data) { @@ -151,6 +152,7 @@ m_part->setObjectName(QStringLiteral("ArkPart")); setCentralWidget(m_part->widget()); createGUI(m_part); + statusBar()->hide(); connect(m_part, SIGNAL(busy()), this, SLOT(updateActions())); connect(m_part, SIGNAL(ready()), this, SLOT(updateActions())); @@ -176,8 +178,6 @@ connect(m_recentFilesAction, SIGNAL(triggered()), this, SLOT(openArchive())); - createStandardStatusBarAction(); - KStandardAction::configureToolbars(this, SLOT(editToolbars()), actionCollection()); KStandardAction::keyBindings(this, SLOT(editKeyBindings()), actionCollection()); KStandardAction::preferences(this, SLOT(showSettings()), actionCollection()); diff --git a/part/part.cpp b/part/part.cpp --- a/part/part.cpp +++ b/part/part.cpp @@ -60,6 +60,7 @@ #include #include #include +#include #include #include #include @@ -687,14 +688,16 @@ { QApplication::restoreOverrideCursor(); m_busy = false; + m_statusBarExtension->statusBar()->hide(); m_view->setEnabled(true); updateActions(); } void Part::setBusyGui() { QApplication::setOverrideCursor(QCursor(Qt::WaitCursor)); m_busy = true; + m_statusBarExtension->statusBar()->show(); m_view->setEnabled(false); updateActions(); }