mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-17 11:30:49 +02:00
Remove softkeys usage
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user