Skip to content

Commit f05ec40

Browse files
committed
removed error.h/cpp
1 parent 130fb8d commit f05ec40

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

relight/mainwindow.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,9 @@ void MainWindow::openProject() {
234234
project.clear();
235235
try {
236236
project.load(filename);
237-
} catch(Error err) {
237+
} catch(QString err) {
238238
//TODO replace with something that can display help
239-
QMessageBox::critical(this, err.title, err.text);
239+
QMessageBox::critical(this, "Could not load project", err);
240240
return;
241241
}
242242
project_filename = filename; //project.dir.relativeFilePath(filename);

relight/relight.pro

+2-4
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ SOURCES += main.cpp \
8181
convertdialog.cpp \
8282
aligndialog.cpp \
8383
zoomdialog.cpp \
84-
zoomtask.cpp \
85-
error.cpp
84+
zoomtask.cpp
8685

8786

8887

@@ -142,8 +141,7 @@ HEADERS += \
142141
zoom.h \
143142
zoomdialog.h \
144143
zoomtask.h \
145-
../src/deepzoom.h \
146-
error.h
144+
../src/deepzoom.h
147145

148146
FORMS += \
149147
dstretchdialog.ui \

src/error.cpp

Whitespace-only changes.

src/error.h

Whitespace-only changes.

0 commit comments

Comments
 (0)