mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
Removed deprecated funtions and changed code to use new functions
This commit is contained in:
committed by
Mathew Sutcliffe
parent
bac77e233d
commit
9eff387207
@@ -11,9 +11,6 @@
|
||||
#include "blackgui/stylesheetutility.h"
|
||||
#include "blackgui/textmessagetextedit.h"
|
||||
#include "blackmisc/aviation/callsign.h"
|
||||
#include "blackmisc/icon.h"
|
||||
#include "blackmisc/iconlist.h"
|
||||
#include "blackmisc/icons.h"
|
||||
#include "blackmisc/network/textmessage.h"
|
||||
|
||||
#include <QAction>
|
||||
@@ -38,7 +35,7 @@ namespace BlackGui
|
||||
|
||||
// menu
|
||||
this->setContextMenuPolicy(Qt::CustomContextMenu);
|
||||
m_actionClearTextEdit = new QAction(CIconList::iconByIndex(CIcons::StandardIconDelete16).toQIcon(), "Clear", this);
|
||||
m_actionClearTextEdit = new QAction(CIcon::iconByIndex(CIcons::StandardIconDelete16).toQIcon(), "Clear", this);
|
||||
m_actionLast10 = new QAction("Keep last 10 messages", this);
|
||||
m_actionLast25 = new QAction("Keep last 25 messages", this);
|
||||
m_actionAll = new QAction("Keep all messages", this);
|
||||
|
||||
Reference in New Issue
Block a user