mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 20:17:01 +02:00
Fixing build issues and finishing up address bar
This commit is contained in:
parent
9b9aba48f0
commit
225e2ebfdc
2 changed files with 6 additions and 7 deletions
|
@ -63,7 +63,6 @@ DialogContainer {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
onClicked: {
|
onClicked: {
|
||||||
event.accepted = true
|
|
||||||
addressBarDialog.loadBack()
|
addressBarDialog.loadBack()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -86,7 +85,6 @@ DialogContainer {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
acceptedButtons: Qt.LeftButton
|
acceptedButtons: Qt.LeftButton
|
||||||
onClicked: {
|
onClicked: {
|
||||||
event.accepted = true
|
|
||||||
addressBarDialog.loadForward()
|
addressBarDialog.loadForward()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -129,6 +127,7 @@ DialogContainer {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
MouseArea {
|
MouseArea {
|
||||||
// Drag the input rectangle
|
// Drag the input rectangle
|
||||||
width: parent.width - parent.height
|
width: parent.width - parent.height
|
||||||
|
@ -142,7 +141,7 @@ DialogContainer {
|
||||||
maximumX: root.parent ? root.maximumX : 0
|
maximumX: root.parent ? root.maximumX : 0
|
||||||
maximumY: root.parent ? root.maximumY + parent.inputAreaStep : 0
|
maximumY: root.parent ? root.maximumY + parent.inputAreaStep : 0
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ void AddressBarDialog::hide() {
|
||||||
void AddressBarDialog::loadAddress(const QString& address) {
|
void AddressBarDialog::loadAddress(const QString& address) {
|
||||||
qDebug() << "Called LoadAddress with address " << address;
|
qDebug() << "Called LoadAddress with address " << address;
|
||||||
if (!address.isEmpty()) {
|
if (!address.isEmpty()) {
|
||||||
DependencyManager::get<AddressManager>()->handleLookupString(address);;
|
DependencyManager::get<AddressManager>()->handleLookupString(address);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue