mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-05 02:17:25 -04:00
Explicitly import MoneroComponents; prevent namespace pollution
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
// THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import QtQuick 2.0
|
||||
import "." 1.0
|
||||
|
||||
import "../components" as MoneroComponents
|
||||
|
||||
Item {
|
||||
id: delegateItem
|
||||
@@ -52,7 +52,7 @@ Item {
|
||||
font.family: "Arial"
|
||||
font.bold: true
|
||||
font.pixelSize: 12 * scaleRatio
|
||||
color: Style.defaultFontColor
|
||||
color: MoneroComponents.Style.defaultFontColor
|
||||
text: {
|
||||
if(currentIndex === 0) return qsTr("Default") + translationManager.emptyString
|
||||
if(currentIndex === 13) return qsTr("High") + translationManager.emptyString
|
||||
|
||||
Reference in New Issue
Block a user