diff --git a/bin/qasim-gui.rb b/bin/qasim-gui.rb index 767e6a5..b2a6bc4 100755 --- a/bin/qasim-gui.rb +++ b/bin/qasim-gui.rb @@ -2,6 +2,14 @@ require 'Qt4' +$DEBUG = true +$VERBOSE = true + +require 'pp' +require 'qasim/constants' +require 'qasim/config' +require 'qasim/map' + # QaSiM // Qt Sshfs Mapper def _ str @@ -40,7 +48,7 @@ module Qasim app = Qt::Application.new(ARGV) si = Qt::SystemTrayIcon.new - std_icon = Qt::Icon.new('icons/qasim.svg') + std_icon = Qt::Icon.new( File.join ICON_PATH, "qasim.svg" ) alt_icon = Qt::Icon.new blinking = false diff --git a/qasim/constants.rb b/qasim/constants.rb new file mode 100644 index 0000000..0dcb126 --- /dev/null +++ b/qasim/constants.rb @@ -0,0 +1,3 @@ +module Qasim + ICON_PATH = "icons" +end