Skip to content

Instantly share code, notes, and snippets.

@shaina7837
Created May 31, 2014 14:10
Show Gist options
  • Save shaina7837/c9ff690d1590fc88780a to your computer and use it in GitHub Desktop.
Save shaina7837/c9ff690d1590fc88780a to your computer and use it in GitHub Desktop.
src/mainwin.cc: In constructor ‘MainWindow::MainWindow(const QString&)’:
src/mainwin.cc:167:83: error: no matching function for call to ‘LegacyEditor::LegacyEditor()’
src/mainwin.cc:167:83: note: candidates are:
src/legacyeditor.h:17:2: note: LegacyEditor::LegacyEditor(QWidget*)
src/legacyeditor.h:17:2: note: candidate expects 1 argument, 0 provided
src/legacyeditor.h:13:7: note: LegacyEditor::LegacyEditor(const LegacyEditor&)
src/legacyeditor.h:13:7: note: candidate expects 1 argument, 0 provided
src/mainwin.cc:170:44: error: no match for call to ‘(LegacyEditor) (QWidget*&)’
16 public:
17 LegacyEditor(QWidget *parent);
18 ~LegacyEditor();
166 MainWindow::MainWindow(const QString &filename)
167 : root_inst("group"), font_list_dialog(NULL), tempFile(NULL), progresswidget(NULL)
168 {
169 //legacy = new LegacyEditor(editorDockContents);
170 editor = &legacy(editorDockContents);
171
LegacyEditor legacy;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment