Quellcode durchsuchen

removed some debug messages

Malte Veerman vor 6 Jahren
Ursprung
Commit
2871e99aad
1 geänderte Dateien mit 0 neuen und 14 gelöschten Zeilen
  1. 0 14
      import/src/guibase.cpp

+ 0 - 14
import/src/guibase.cpp

@@ -195,8 +195,6 @@ void GUIBase::setShowTray(bool show)
     if (showTray() == show)
         return;
 
-    qDebug() << show;
-
     m_config->setCurrentGroup(QStringLiteral("preferences"));
     m_config->findItem(QStringLiteral("ShowTray"))->setProperty(show);
     emit showTrayChanged();
@@ -301,8 +299,6 @@ void GUIBase::handleInfo(const QString &info)
 
 void GUIBase::applyProfile(const QString& profile)
 {
-    qDebug() << "apply profile:" << profile;
-
     if (!m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList().contains(profile))
     {
         handleError(i18n("Unable to apply unknown profile: %1", profile));
@@ -316,8 +312,6 @@ void GUIBase::applyProfile(const QString& profile)
 
 void GUIBase::applyProfile(int index)
 {
-    qDebug() << "apply profile:" << index;
-
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
 
     if (index < 0 || index >= profileNames.size())
@@ -344,13 +338,9 @@ void GUIBase::applyProfile(int index)
 
 void GUIBase::saveProfile(const QString& profile, bool updateModel)
 {
-    qDebug() << "save profile:" << profile;
-
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
     int index = profileNames.indexOf(profile);
 
-    qDebug() << "index:" << index;
-
     if (index < 0)
     {
         index = profileNames.size();
@@ -375,8 +365,6 @@ void GUIBase::saveProfile(const QString& profile, bool updateModel)
 
 void GUIBase::deleteProfile(const QString& profile, bool updateModel)
 {
-    qDebug() << "delete profile:" << profile;
-
     int index = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList().indexOf(profile);
 
     deleteProfile(index, updateModel);
@@ -384,8 +372,6 @@ void GUIBase::deleteProfile(const QString& profile, bool updateModel)
 
 void GUIBase::deleteProfile(int index, bool updateModel)
 {
-    qDebug() << "delete profile:" << index;
-
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
 
     if (index < 0 || index >= profileNames.size())