1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-16 19:14:06 +02:00

Remove softkeys usage

This commit is contained in:
Uwe L. Korn
2013-07-26 16:12:22 +02:00
parent 72557b1f5d
commit fe4e281ab3

View File

@@ -105,11 +105,6 @@ XmlConsole::XmlConsole(Client* client, QWidget *parent) :
m_stackOutgoing.paramColor = QColor(0xdd8811);
QAction *action = new QAction(tr("Close"),this);
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
// Softkeys were removed in Qt 5
// See: http://qt.gitorious.org/qt/qtbase/blobs/stable/dist/changes-5.0.0#line510
action->setSoftKeyRole(QAction::NegativeSoftKey);
#endif
connect(action, SIGNAL(triggered()), SLOT(close()));
addAction(action);
}