bin: Improve requirements.

This commit is contained in:
Glenn Y. Rolland 2012-07-30 19:47:03 +02:00
parent 4b111fbf66
commit da1ce22723

View file

@ -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;