Skip to content

Commit

Permalink
removed error.h/cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ponchio committed Dec 20, 2024
1 parent 130fb8d commit f05ec40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions relight/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,9 @@ void MainWindow::openProject() {
project.clear();
try {
project.load(filename);
} catch(Error err) {
} catch(QString err) {
//TODO replace with something that can display help
QMessageBox::critical(this, err.title, err.text);
QMessageBox::critical(this, "Could not load project", err);
return;
}
project_filename = filename; //project.dir.relativeFilePath(filename);
Expand Down
6 changes: 2 additions & 4 deletions relight/relight.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ SOURCES += main.cpp \
convertdialog.cpp \
aligndialog.cpp \
zoomdialog.cpp \
zoomtask.cpp \
error.cpp
zoomtask.cpp



Expand Down Expand Up @@ -142,8 +141,7 @@ HEADERS += \
zoom.h \
zoomdialog.h \
zoomtask.h \
../src/deepzoom.h \
error.h
../src/deepzoom.h

FORMS += \
dstretchdialog.ui \
Expand Down
Empty file removed src/error.cpp
Empty file.
Empty file removed src/error.h
Empty file.

0 comments on commit f05ec40

Please sign in to comment.