Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Mar 6, 2022
1 parent 028686f commit c8f0f05
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
11 changes: 0 additions & 11 deletions src/cyan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1643,14 +1643,3 @@ int Cyan::getTotalRam(int percent)
if (ram < 4) { ram = 4; }
return ram;
}

void Cyan::handleMagickMemoryAct(bool triggered)
{
Q_UNUSED(triggered)
QAction *action = qobject_cast<QAction*>(sender());
if (!action) { return; }
QSettings settings;
if (action->data().toInt()>=2) {
setMemoryResource(action->data().toInt());
}
}
1 change: 0 additions & 1 deletion src/cyan.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ private slots:
int getMemoryResource();
void setMemoryResource(int gib);
int getTotalRam(int percent);
void handleMagickMemoryAct(bool triggered);
};

#endif // CYAN_H

0 comments on commit c8f0f05

Please sign in to comment.