qasim-gui: Use resource file for systray icon.
This commit is contained in:
parent
967eea139a
commit
8d66cbc537
1 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,8 @@ require 'qasim/constants'
|
|||
require 'qasim/config'
|
||||
require 'qasim/map'
|
||||
|
||||
require 'qasim/qasim_qrc'
|
||||
|
||||
# QaSiM // Qt Sshfs Mapper
|
||||
|
||||
def _ str
|
||||
|
@ -181,7 +183,7 @@ module Qasim
|
|||
@app = Qt::Application.new(ARGV)
|
||||
si = Qt::SystemTrayIcon.new
|
||||
|
||||
std_icon = Qt::Icon.new( File.join APP_ICON_PATH, "qasim.svg" )
|
||||
std_icon = Qt::Icon.new( ":/qasim/qasim-icon" ) #File.join APP_ICON_PATH, "qasim.svg" )
|
||||
alt_icon = Qt::Icon.new
|
||||
blinking = false
|
||||
|
||||
|
|
Loading…
Reference in a new issue