/[svn]/gigedit/trunk/src/gigedit/mainwindow.cpp
ViewVC logotype

Diff of /gigedit/trunk/src/gigedit/mainwindow.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2845 by persson, Sun Sep 20 10:18:22 2015 UTC revision 2903 by schoenebeck, Tue May 3 14:08:34 2016 UTC
# Line 1  Line 1 
1  /*  /*
2   * Copyright (C) 2006-2015 Andreas Persson   * Copyright (C) 2006-2016 Andreas Persson
3   *   *
4   * This program is free software; you can redistribute it and/or   * This program is free software; you can redistribute it and/or
5   * modify it under the terms of the GNU General Public License as   * modify it under the terms of the GNU General Public License as
# Line 1463  void MainWindow::on_action_help_about() Line 1463  void MainWindow::on_action_help_about()
1463      dialog.set_name("Gigedit");      dialog.set_name("Gigedit");
1464  #endif  #endif
1465      dialog.set_version(VERSION);      dialog.set_version(VERSION);
1466      dialog.set_copyright("Copyright (C) 2006-2015 Andreas Persson");      dialog.set_copyright("Copyright (C) 2006-2016 Andreas Persson");
1467      const std::string sComment =      const std::string sComment =
1468          _("Built " __DATE__ "\nUsing ") +          _("Built " __DATE__ "\nUsing ") +
1469          ::gig::libraryName() + " " + ::gig::libraryVersion() + "\n\n" +          ::gig::libraryName() + " " + ::gig::libraryVersion() + "\n\n" +
# Line 2340  void MainWindow::on_action_edit_script() Line 2340  void MainWindow::on_action_edit_script()
2340      if (!script) return;      if (!script) return;
2341    
2342      ScriptEditor* editor = new ScriptEditor;      ScriptEditor* editor = new ScriptEditor;
2343        editor->signal_script_to_be_changed.connect(
2344            signal_script_to_be_changed.make_slot()
2345        );
2346        editor->signal_script_changed.connect(
2347            signal_script_changed.make_slot()
2348        );
2349      editor->setScript(script);      editor->setScript(script);
2350      //editor->reparent(*this);      //editor->reparent(*this);
2351      editor->show();      editor->show();
# Line 3082  void MainWindow::script_double_clicked(c Line 3088  void MainWindow::script_double_clicked(c
3088      if (!script) return;      if (!script) return;
3089    
3090      ScriptEditor* editor = new ScriptEditor;      ScriptEditor* editor = new ScriptEditor;
3091        editor->signal_script_to_be_changed.connect(
3092            signal_script_to_be_changed.make_slot()
3093        );
3094        editor->signal_script_changed.connect(
3095            signal_script_changed.make_slot()
3096        );
3097      editor->setScript(script);      editor->setScript(script);
3098      //editor->reparent(*this);      //editor->reparent(*this);
3099      editor->show();      editor->show();

Legend:
Removed from v.2845  
changed lines
  Added in v.2903

  ViewVC Help
Powered by ViewVC