Skip to content

Commit

Permalink
removed commented lines, added to-do
Browse files Browse the repository at this point in the history
  • Loading branch information
aardschok committed Jul 6, 2018
1 parent 144e1bf commit b95bb22
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions launcher/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

# Dependencies
from avalon import io
# import avalon.vendor.qtawesome as qta
from PyQt5 import QtCore, QtGui, QtQml, QtWidgets, QtQuick

# Local libraries
Expand All @@ -16,6 +15,9 @@
APP_PATH = lib.resource("qml", "main.qml")
ICON_PATH = lib.resource("icon", "main.png")

# TODO: Re-implement icons of tray menu after resolving #323
# Issue 323: https://github.com/getavalon/core/issues/323


class Application(QtWidgets.QApplication):

Expand Down Expand Up @@ -71,15 +73,12 @@ def init_tray(self):

# Build the right-mouse context menu for the tray icon
menu = QtWidgets.QMenu()
# icon_color = "#509eff" # launcher icon color

def window_show():
self.window.show()
self.window.raise_()
self.window.requestActivate()

# Disabled icon due to mismatching font versions
# icon = qta.icon("fa.eye", color=icon_color)
show = QtWidgets.QAction("Show", self)
show.triggered.connect(window_show)
menu.addAction(show)
Expand All @@ -93,8 +92,6 @@ def on_quit():

self.quit()

# Disabled icon due to mismatching font versions
# icon = qta.icon("fa.close", color=icon_color)
quit = QtWidgets.QAction("Quit", self)
quit.triggered.connect(on_quit)
menu.addAction(quit)
Expand Down

0 comments on commit b95bb22

Please sign in to comment.