kdevplatform/shell: remove dead code, as min KF dep is 5.28 now

parent 046d4352
......@@ -38,7 +38,6 @@ Boston, MA 02110-1301, USA.
#include <KTextEditor/View>
#include <KWindowSystem>
#include <KXMLGUIFactory>
#include <kparts_version.h>
#include <sublime/area.h>
#include "shellextension.h"
......@@ -95,18 +94,8 @@ void MainWindow::applyMainWindowSettings(const KConfigGroup& config)
void MainWindow::createGUI(KParts::Part* part)
{
//TODO remove if-clause once KF5 >= 5.24 is required
#if KPARTS_VERSION_MINOR >= 24
Sublime::MainWindow::setWindowTitleHandling(false);
Sublime::MainWindow::createGUI(part);
#else
Sublime::MainWindow::createGUI(part);
if (part) {
// Don't let the Part control the main window caption -- we take care of that
disconnect(part, SIGNAL(setWindowCaption(QString)),
this, SLOT(setCaption(QString)));
}
#endif
}
void MainWindow::initializeCorners()
......
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