mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-17 13:50:35 +02:00
Added Debug Catch for maybeSave
This commit is contained in:
@@ -777,9 +777,7 @@ void IntelliPhotoGui::setIntelliStyle(){
|
||||
|
||||
bool IntelliPhotoGui::maybeSave(){
|
||||
// Check for changes since last save
|
||||
|
||||
// TODO insert variable for modified status here to make an save exit message
|
||||
if (false) {
|
||||
#ifdef QT_NO_DEBUG
|
||||
QMessageBox::StandardButton ret;
|
||||
|
||||
// Painting is the title of the window
|
||||
@@ -798,7 +796,7 @@ bool IntelliPhotoGui::maybeSave(){
|
||||
} else if (ret == QMessageBox::Cancel) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user