Skip to content

Commit

Permalink
refactor: Comment out debug prints
Browse files Browse the repository at this point in the history
  • Loading branch information
SebiAi committed Dec 26, 2023
1 parent cb10091 commit 600dd98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/composition_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const QList<QColor>* const CompositionManager::getPhone1ColorValues(qint64 posit
// TODO: REMOVE ME!
qsizetype indexDelta = index - lastIndex - 1;
if (indexDelta != 0)
qDebug().nospace() << "[WARNING] Skipped " << indexDelta << " indexes!";
// qDebug().nospace() << "[WARNING] Skipped " << indexDelta << " indexes!";
lastIndex = index;


Expand All @@ -76,7 +76,7 @@ const QList<QColor>* const CompositionManager::getPhone2ColorValues(qint64 posit
// TODO: REMOVE ME!
qsizetype indexDelta = index - lastIndex - 1;
if (indexDelta != 0)
qDebug().nospace() << "[WARNING] Skipped " << indexDelta << " indexes!";
// qDebug().nospace() << "[WARNING] Skipped " << indexDelta << " indexes!";
lastIndex = index;


Expand Down
2 changes: 1 addition & 1 deletion src/open_composition_dialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ QString autoCompleteHelper(const QString& filePathSource, const QString& fileDia
// Try to autocomplete row1
QFileInfo fileInfoSource = QFileInfo(filePathSource);
QFileInfo fileInfoDestination = QFileInfo(fileInfoSource.dir().filePath(fileInfoSource.completeBaseName().append('.').append(QFileInfo(fileDialogFilterDestination).suffix())));
qDebug() << "Autocomplete file:" << fileInfoDestination.filePath();
// qDebug() << "Autocomplete file:" << fileInfoDestination.filePath();
if (!fileInfoDestination.exists() || !fileInfoDestination.isFile())
return QString(); // Return empty string

Expand Down

0 comments on commit 600dd98

Please sign in to comment.