Browse Source

removed some debug messages

Malte Veerman 6 years ago
parent
commit
2871e99aad
1 changed files with 0 additions and 14 deletions
  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)
     if (showTray() == show)
         return;
         return;
 
 
-    qDebug() << show;
-
     m_config->setCurrentGroup(QStringLiteral("preferences"));
     m_config->setCurrentGroup(QStringLiteral("preferences"));
     m_config->findItem(QStringLiteral("ShowTray"))->setProperty(show);
     m_config->findItem(QStringLiteral("ShowTray"))->setProperty(show);
     emit showTrayChanged();
     emit showTrayChanged();
@@ -301,8 +299,6 @@ void GUIBase::handleInfo(const QString &info)
 
 
 void GUIBase::applyProfile(const QString& profile)
 void GUIBase::applyProfile(const QString& profile)
 {
 {
-    qDebug() << "apply profile:" << profile;
-
     if (!m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList().contains(profile))
     if (!m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList().contains(profile))
     {
     {
         handleError(i18n("Unable to apply unknown profile: %1", 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)
 void GUIBase::applyProfile(int index)
 {
 {
-    qDebug() << "apply profile:" << index;
-
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
 
 
     if (index < 0 || index >= profileNames.size())
     if (index < 0 || index >= profileNames.size())
@@ -344,13 +338,9 @@ void GUIBase::applyProfile(int index)
 
 
 void GUIBase::saveProfile(const QString& profile, bool updateModel)
 void GUIBase::saveProfile(const QString& profile, bool updateModel)
 {
 {
-    qDebug() << "save profile:" << profile;
-
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
     int index = profileNames.indexOf(profile);
     int index = profileNames.indexOf(profile);
 
 
-    qDebug() << "index:" << index;
-
     if (index < 0)
     if (index < 0)
     {
     {
         index = profileNames.size();
         index = profileNames.size();
@@ -375,8 +365,6 @@ void GUIBase::saveProfile(const QString& profile, bool updateModel)
 
 
 void GUIBase::deleteProfile(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);
     int index = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList().indexOf(profile);
 
 
     deleteProfile(index, updateModel);
     deleteProfile(index, updateModel);
@@ -384,8 +372,6 @@ void GUIBase::deleteProfile(const QString& profile, bool updateModel)
 
 
 void GUIBase::deleteProfile(int index, bool updateModel)
 void GUIBase::deleteProfile(int index, bool updateModel)
 {
 {
-    qDebug() << "delete profile:" << index;
-
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
     auto profileNames = m_config->findItem(QStringLiteral("ProfileNames"))->property().toStringList();
 
 
     if (index < 0 || index >= profileNames.size())
     if (index < 0 || index >= profileNames.size())