Fixing build issues and finishing up address bar

This commit is contained in:
Niraj Venkat 2015-06-17 14:27:16 -07:00
parent 9b9aba48f0
commit 225e2ebfdc
2 changed files with 6 additions and 7 deletions

View file

@ -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
} }
} }*/
} }
} }

View file

@ -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);
} }
} }