bin: Improve requirements.
This commit is contained in:
parent
4b111fbf66
commit
da1ce22723
1 changed files with 3 additions and 4 deletions
|
@ -15,10 +15,7 @@ QASIM_DATA_DIR = "."
|
||||||
|
|
||||||
$:.push QASIM_INCLUDE_DIR
|
$:.push QASIM_INCLUDE_DIR
|
||||||
|
|
||||||
require 'qasim/constants'
|
require 'qasim'
|
||||||
require 'qasim/config'
|
|
||||||
require 'qasim/map'
|
|
||||||
require 'qasim/about'
|
|
||||||
|
|
||||||
require 'qasim/qasim_qrc'
|
require 'qasim/qasim_qrc'
|
||||||
|
|
||||||
|
@ -166,6 +163,8 @@ module Qasim
|
||||||
act_about.setEnabled true
|
act_about.setEnabled true
|
||||||
act_about.connect(SIGNAL(:triggered)) do
|
act_about.connect(SIGNAL(:triggered)) do
|
||||||
puts "Show about dialog!"
|
puts "Show about dialog!"
|
||||||
|
dialog = Qasim::Ui::About.new
|
||||||
|
dialog.show
|
||||||
end
|
end
|
||||||
@context_menu.addAction act_about;
|
@context_menu.addAction act_about;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue