mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-20 00:28:39 +02:00
refactor: move ModelUtils into Utils
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "SubaddressView.h"
|
||||
|
||||
#include "model/ModelUtils.h"
|
||||
#include "utils/Utils.h"
|
||||
|
||||
SubaddressView::SubaddressView(QWidget *parent) : QTreeView(parent) {
|
||||
|
||||
@@ -15,7 +15,7 @@ void SubaddressView::keyPressEvent(QKeyEvent *event){
|
||||
if(!selectedIndexes().isEmpty()){
|
||||
if(event->matches(QKeySequence::Copy)){
|
||||
QModelIndex index = this->currentIndex();
|
||||
ModelUtils::copyColumn(&index, index.column());
|
||||
Utils::copyColumn(&index, index.column());
|
||||
}
|
||||
else
|
||||
QTreeView::keyPressEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user